-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.txt
29 lines (22 loc) · 865 Bytes
/
setup.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
Follow these steps to set up the Virtual Herbal Garden Chatbot:
>>Clone the Repository:
git clone <repository_url>
cd virtual-herbal-garden
>>Install Dependencies:
Install Python (3.8 or later).
Create a virtual environment:
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
>>Install required libraries:
pip install flask google-generativeai
>>Set Up API Key:
Obtain a Gemini API key from Google Generative AI.
Create an .env file in the project root and add:
GEMINI_API_KEY=your_api_key_here
>>Run the Application:
python app.py
>>Access the Chatbot:
Open your browser and navigate to http://127.0.0.1:5000.
>>Deploy to Server (Optional):
Use platforms like Heroku, AWS, or Google Cloud to deploy the app.
Ensure the .env file and required dependencies are configured correctly.