Spaces:
Running
Running
A newer version of the Streamlit SDK is available:
1.42.2
metadata
title: Gen Ai Chatbot
emoji: π
colorFrom: blue
colorTo: gray
sdk: streamlit
sdk_version: 1.42.0
app_file: app.py
pinned: true
π€ Gemini-Pro Boty π
A chatbot powered by Google Gemini-Pro and Streamlit to interact with users in real-time.
π Features
- Chat with Google Gemini-Pro (Gemini 2.0 Flash)
- User-friendly Streamlit UI
- Maintains conversation history
- Easy setup with
.env
file for API keys
π Project Structure
π your-repo-name
βββ .gitignore
βββ .env
βββ README.md
βββ requirements.txt
βββ app.py
π οΈ Installation & Setup
1οΈβ£ Clone the Repository
git clone https://github.com/your-repo-name.git
cd your-repo-name
2οΈβ£ Create a Virtual Environment
python -m venv venv
source venv/bin/activate # On macOS/Linux
venv\Scripts\activate # On Windows
3οΈβ£ Install Dependencies
pip install -r requirements.txt
4οΈβ£ Set Up API Key
Create a .env
file in the root directory and add:
GOOGLE_API_KEY=your_google_api_key
5οΈβ£ Run the Streamlit App
streamlit run app.py