Spaces:
Sleeping
Sleeping
Ali Abdullah commited on
Update README.md
Browse files
README.md
CHANGED
|
@@ -6,7 +6,7 @@ colorTo: green
|
|
| 6 |
sdk: gradio
|
| 7 |
sdk_version: 5.35.0
|
| 8 |
app_file: app.py
|
| 9 |
-
pinned:
|
| 10 |
license: apache-2.0
|
| 11 |
short_description: atomcamp Chatbot is a custom AI assistant.
|
| 12 |
thumbnail: >-
|
|
@@ -40,27 +40,27 @@ This chatbot leverages modern NLP techniques including sentence embeddings and v
|
|
| 40 |
- Sentence Transformers
|
| 41 |
- dotenv
|
| 42 |
|
| 43 |
-
1. Clone the Repository
|
| 44 |
-
```bash
|
| 45 |
git clone https://huggingface.co/spaces/ABdullah937e/atomcamp-chatbot
|
| 46 |
cd atomcamp-chatbot
|
| 47 |
|
| 48 |
-
2. Create Virtual Environment
|
| 49 |
-
```bash
|
| 50 |
python -m venv venv
|
| 51 |
|
| 52 |
-
3. Activate the Virtual Environment
|
| 53 |
-
3.1 For Linux/macOS:
|
| 54 |
-
```bash
|
| 55 |
-
source venv/bin/activate
|
| 56 |
-
3.2 For Windows:
|
| 57 |
-
```bash
|
| 58 |
-
source venv/Scripts/activate
|
| 59 |
|
| 60 |
-
|
| 61 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 62 |
pip install -r requirements.txt
|
| 63 |
|
| 64 |
-
|
| 65 |
-
|
|
|
|
|
|
|
|
|
|
| 66 |
python app.py
|
|
|
|
| 6 |
sdk: gradio
|
| 7 |
sdk_version: 5.35.0
|
| 8 |
app_file: app.py
|
| 9 |
+
pinned: true
|
| 10 |
license: apache-2.0
|
| 11 |
short_description: atomcamp Chatbot is a custom AI assistant.
|
| 12 |
thumbnail: >-
|
|
|
|
| 40 |
- Sentence Transformers
|
| 41 |
- dotenv
|
| 42 |
|
| 43 |
+
# 1. Clone the Repository
|
|
|
|
| 44 |
git clone https://huggingface.co/spaces/ABdullah937e/atomcamp-chatbot
|
| 45 |
cd atomcamp-chatbot
|
| 46 |
|
| 47 |
+
# 2. Create Virtual Environment
|
|
|
|
| 48 |
python -m venv venv
|
| 49 |
|
| 50 |
+
# 3. Activate the Virtual Environment
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 51 |
|
| 52 |
+
## 3.1 For Linux/macOS:
|
| 53 |
+
source venv/bin/activate
|
| 54 |
+
|
| 55 |
+
## 3.2 For Windows:
|
| 56 |
+
venv\Scripts\activate
|
| 57 |
+
|
| 58 |
+
# 4. Install Dependencies
|
| 59 |
pip install -r requirements.txt
|
| 60 |
|
| 61 |
+
# 5. Set Environment Variable (using .env file)
|
| 62 |
+
# Create a file named .env and add the following line:
|
| 63 |
+
# HUGGINGFACEHUB_API_TOKEN=your_token_here
|
| 64 |
+
|
| 65 |
+
# 6. Run the App
|
| 66 |
python app.py
|