Gemini Pro Hub is a Streamlit app that integrates various features powered by Google's GEMINI models, including a chatbot, image captioning, and text embedding.
-
ChatBot: Interact with the Gemini Pro model for conversational AI. Simply type your message in the input box and the chatbot will respond.
-
Image Captioning: Upload an image and get a descriptive caption generated by the Gemini-Pro-Vision model. Click the "Generate Caption" button to see the result.
-
Embed text: Enter text in the text area to convert it into embeddings using the embeddings-001 model. Click the "Get Response" button to view the embeddings.
-
About: Learn more about this Gemini Hub, including the models used for each feature.
To run the app locally, follow these steps:
-
Clone this repository to your local machine.
git clone https://github.com/hardikjp7/Gemini-Pro-Hub.git
-
Install the required dependencies by running the following command in your terminal:
pip install -r requirements.txt
-
Run the Streamlit app by executing the following command in your terminal:
streamlit run main.py
-
Set up your Gemini API Key by entering it in the sidebar of the app.
app.py
: Contains the Streamlit app code.gemini.py
: Contains functions for interacting with the Gemini models.requirements.txt
: Contains the required Python packages.logo.png
: Icon for the Streamlit app menu.
This project is deployed publicly on Streamlit. You can access it by clicking in right side of title
Made with β€οΈ by Hardik