Update README.md
Browse files
README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
---
|
| 2 |
title: ByteBot
|
| 3 |
-
emoji:
|
| 4 |
colorFrom: indigo
|
| 5 |
colorTo: red
|
| 6 |
sdk: gradio
|
|
@@ -9,4 +9,95 @@ app_file: app.py
|
|
| 9 |
pinned: false
|
| 10 |
---
|
| 11 |
|
| 12 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
title: ByteBot
|
| 3 |
+
emoji: 🤖
|
| 4 |
colorFrom: indigo
|
| 5 |
colorTo: red
|
| 6 |
sdk: gradio
|
|
|
|
| 9 |
pinned: false
|
| 10 |
---
|
| 11 |
|
| 12 |
+
# 🤖 ByteBot: Your CS Companion
|
| 13 |
+
|
| 14 |
+
ByteBot is a friendly and knowledgeable virtual assistant designed to simplify the complexities of Computer Science. From explaining algorithms to debugging code, ByteBot provides clear explanations and personalized guidance tailored to your learning needs. Whether you're a beginner or an expert, ByteBot is here to empower you on your coding journey.
|
| 15 |
+
|
| 16 |
+
## 📝 Description
|
| 17 |
+
|
| 18 |
+
ByteBot serves as a comprehensive resource for users seeking clarity on various Computer Science topics. Employing a user-centric approach, it endeavors to elucidate queries and concepts using accessible language and practical examples. Following explanations, the chatbot proactively assesses user comprehension, ensuring clarity and understanding. By seamlessly integrating theory with real-world applications, it empowers users to grasp complex CS concepts with confidence and ease.
|
| 19 |
+
|
| 20 |
+
## What it Does
|
| 21 |
+
|
| 22 |
+
ByteBot is an AI chatbot designed to simplify Computer Science concepts. It provides explanations, examples, and personalized guidance to users, helping them understand various topics in the field.
|
| 23 |
+
|
| 24 |
+
## Features
|
| 25 |
+
|
| 26 |
+
- **GUI**: It has Graphical User Interface (GUI) for user convenience.
|
| 27 |
+
- **Personalized Assistance**: It tailors its responses to user queries, ensuring a customized learning experience.
|
| 28 |
+
- **Multi-turn Conversation**: It supports multi-turn conversations, allowing for deeper exploration of topics.
|
| 29 |
+
- **Easy Installation**: It can be easily installed using the provided instructions.
|
| 30 |
+
|
| 31 |
+
## Installation
|
| 32 |
+
|
| 33 |
+
1. **Clone the Repository**:
|
| 34 |
+
|
| 35 |
+
```bash
|
| 36 |
+
git clone https://huggingface.co/spaces/CoderNoah/ByteBot
|
| 37 |
+
```
|
| 38 |
+
|
| 39 |
+
2. **Create a Virtual Environment**:
|
| 40 |
+
|
| 41 |
+
```bash
|
| 42 |
+
python -m venv .venv
|
| 43 |
+
```
|
| 44 |
+
|
| 45 |
+
3. **Activate the Virtual Environment**:
|
| 46 |
+
|
| 47 |
+
- Linux:
|
| 48 |
+
|
| 49 |
+
```bash
|
| 50 |
+
source .venv/bin/activate
|
| 51 |
+
```
|
| 52 |
+
|
| 53 |
+
- Windows:
|
| 54 |
+
|
| 55 |
+
```bash
|
| 56 |
+
.venv/Scripts/activate
|
| 57 |
+
```
|
| 58 |
+
|
| 59 |
+
4. **Install Dependencies**:
|
| 60 |
+
|
| 61 |
+
```bash
|
| 62 |
+
pip install -r requirements.txt
|
| 63 |
+
```
|
| 64 |
+
|
| 65 |
+
## Usage
|
| 66 |
+
|
| 67 |
+
1. **Get Gemini API Key**:
|
| 68 |
+
|
| 69 |
+
Get your Gemini API key at [Gemini API Key](https://aistudio.google.com/).
|
| 70 |
+
|
| 71 |
+
2. **Create `.env` File**:
|
| 72 |
+
|
| 73 |
+
```bash
|
| 74 |
+
code .env
|
| 75 |
+
```
|
| 76 |
+
|
| 77 |
+
3. **Add API Key to `.env`**:
|
| 78 |
+
|
| 79 |
+
```bash
|
| 80 |
+
GOOGLE_API_KEY=YOUR_API_KEY
|
| 81 |
+
```
|
| 82 |
+
|
| 83 |
+
Replace `YOUR_API_KEY` with your Gemini API key.
|
| 84 |
+
|
| 85 |
+
4. **Run the App**:
|
| 86 |
+
|
| 87 |
+
```bash
|
| 88 |
+
python app.py
|
| 89 |
+
```
|
| 90 |
+
|
| 91 |
+
Open your web browser and visit [http://127.0.0.1:7860](http://127.0.0.1:7860).
|
| 92 |
+
|
| 93 |
+
|
| 94 |
+
## Technologies Used
|
| 95 |
+
|
| 96 |
+
1. **Python**: Programming language used for development.
|
| 97 |
+
2. **Gemini API**: API for accessing additional features.
|
| 98 |
+
3. **Gradio**: Library for creating GUI interfaces.
|
| 99 |
+
|
| 100 |
+
Happy coding! 🤖💻
|
| 101 |
+
|
| 102 |
+
Made with ❤️ by Noah.
|
| 103 |
+
|