Gemini Copilot is a Python application that utilizes the Gemini API to run locally on a server. It provides functionalities to interact with the Gemini platform.
-
Clone the repository
-
Navigate to the project directory
-
Create a file named
api_key.env
and add your Gemini API key:GEMINI_API_KEY=<YOUR-KEY>
Replace
<YOUR-KEY>
with your actual Gemini API key, which can be obtained from ai.google.dev. -
Install the required dependencies:
pip install -r requirements.txt
Run the application with the following command:
streamlit run copilot.py
If you encounter any errors while running the application, please read the error message and install the appropriate dependencies. Some common dependencies to install include python-dotenv
, ipython
, and streamlit-extras
.
Ensure that you have a stable internet connection to use the application effectively.