Skip to content

This is a Streamlit web application that allows users to upload a PDF document, extract text from it, and ask questions based on the extracted content using Google Gemini AI.

Notifications You must be signed in to change notification settings

coddermind/gemini-model-integration

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Gemini Model Integration

This is a Streamlit web application that allows users to upload a PDF document, extract text from it, and ask questions based on the extracted content using Google Gemini AI.

Features

  • Upload a PDF document and extract text.
  • Ask any questions based on the text in the document.
  • Get answers generated by Google Gemini AI (using google-generativeai).

Installation

To run this project locally, you'll need to have Python installed.

  1. Clone the repository:

    git clone https://github.com/your-username/gemini-model-integration.git
    cd gemini-model-integration
    
  2. Update the streamlit-app.py file: Update it by replacing the sentence "your api key" with your actual api key you generated from the google cloud

  3. Install the dependencies:

    pip install -r requirements.txt
    
  4. Run the streamlit app:

    streamlit run streamlit-app.py

About

This is a Streamlit web application that allows users to upload a PDF document, extract text from it, and ask questions based on the extracted content using Google Gemini AI.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages