Spaces:
Sleeping
Sleeping
|
Download community_contributions/gemini_based_chatbot/README.md from FlaRDevelop/Test1: direct link, hf CLI and curl.
- Browser
- Download file 1.54 kB
-
https://huggingface.co/spaces/FlaRDevelop/Test1/resolve/main/community_contributions/gemini_based_chatbot/README.md
- Command line
-
hf download hf://spaces/FlaRDevelop/Test1/community_contributions/gemini_based_chatbot/README.md
-
curl -L -o README.md https://huggingface.co/spaces/FlaRDevelop/Test1/resolve/main/community_contributions/gemini_based_chatbot/README.md
1.54 kB
A newer version of the Gradio SDK is available: 6.30.0
Gemini Chatbot of Users (Me)
A simple AI chatbot that represents Rishabh Dubey by leveraging Google Gemini API, Gradio for UI, and context from summary.txt and Profile.pdf.
Screenshots
Features
- Loads background and profile data to answer questions in character.
- Uses Google Gemini for natural language responses.
- Runs in Gradio interface for easy web deployment.
Requirements
- Python 3.10+
- API key for Google Gemini stored in
.envfile asGOOGLE_API_KEY.
Installation
Clone this repo:
https://github.com/rishabh3562/Agentic-chatbot-me.gitCreate a virtual environment:
python -m venv venv source venv/bin/activate # On Windows: venv\Scripts\activateInstall dependencies:
pip install -r requirements.txtAdd your API key in a
.envfile:GOOGLE_API_KEY=<your-api-key>
Usage
Run locally:
python app.py
The app will launch a Gradio interface at http://127.0.0.1:7860.
Deployment
This app can be deployed on:
- Render or Hugging Face Spaces
Make sure
.envand static files (summary.txt,Profile.pdf) are included.
Note:
- Make sure you have
summary.txtandProfile.pdfin the root directory. - Update
requirements.txtwithpython-dotenvif not already present.