Spaces:
Sleeping
Sleeping
metadata
title: ChatBot Pro
emoji: 🤖
colorFrom: blue
colorTo: indigo
sdk: docker
pinned: false
license: mit
ChatBot Pro
A simple but powerful chatbot application built with Google Gemini AI model and Gradio interface.
Setup and Installation
Local Development
- Clone this repository
- Create a virtual environment:
python -m venv venv source venv/bin/activate # On Windows: venv\Scripts\activate - Install dependencies:
pip install -r requirements.txt - Make sure you have a
.envfile with your Google API key:GOOGLE_API_KEY=your_api_key_here - Run the application:
python run.py
Deploying to Hugging Face Spaces
- Create a new Space on Hugging Face and select Gradio as the SDK
- Use this repository as the source (you can link your GitHub repository or upload files directly)
- Add your Google API key as a secret named
HF_GOOGLE_API_KEYin the Space settings - Deploy the Space and it should run automatically
Features
- Interactive chat interface
- Persistent chat sessions
- Gemini AI powered responses
- Clean and modern UI
Troubleshooting
If you encounter any issues:
- Verify your API key is correct in the
.envfile or Hugging Face Space secrets - Make sure all dependencies are installed correctly
- Check the console for any error messages