A streamlit app that uses Gemini Pro and Gemini Pro Vision in a chatbot interface.
The deployed app can be accessed here
Follow the instruction here to get your free API key
- Download the file
- Extract the file
- Open up notepad, key in the following details and save the file as .env inside the extracted folder
GOOGLE_API_KEY="YOUR_API_KEY"
- Open up anaconda prompt or command prompt and activate anaconda environment
- Create a new conda environment
conda create --name new_env python==3.10 -y
- Activate the environment
conda activate new_env
- Change directory to the location of the extracted folder (e.g. in Downloads)
cd C:/Users/enter_your_user/Downloads/extracted_filename
- Install the required libraries
pip install -r requirements.txt
- Run streamlit app
streamlit run app.py
Credits to Krish Naik for going through Gemini Pro API in this video. Watching this video has given me the idea to build this application.