Spaces:
Sleeping
Sleeping
Update README.md
Browse files
README.md
CHANGED
|
@@ -12,9 +12,48 @@ short_description: Streamlit template space
|
|
| 12 |
license: mit
|
| 13 |
---
|
| 14 |
|
| 15 |
-
#
|
| 16 |
|
| 17 |
-
|
| 18 |
|
| 19 |
-
|
| 20 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 12 |
license: mit
|
| 13 |
---
|
| 14 |
|
| 15 |
+
# π€ Groq AI Chat Assistant
|
| 16 |
|
| 17 |
+
A lightning-fast Streamlit web app powered by Groq's AI API.
|
| 18 |
|
| 19 |
+
## Features
|
| 20 |
+
β¨ Instant AI responses
|
| 21 |
+
π Multiple models available
|
| 22 |
+
ποΈ Customizable settings
|
| 23 |
+
πΎ Chat history
|
| 24 |
+
π± Mobile friendly
|
| 25 |
+
|
| 26 |
+
## How to Use
|
| 27 |
+
|
| 28 |
+
1. Get your free Groq API key: https://console.groq.com
|
| 29 |
+
2. Paste it in the sidebar
|
| 30 |
+
3. Select a model
|
| 31 |
+
4. Start chatting!
|
| 32 |
+
|
| 33 |
+
## Available Models
|
| 34 |
+
- **Llama 3.3 70B** - Most powerful
|
| 35 |
+
- **Llama 3.1 8B** - Fastest
|
| 36 |
+
- **Gemma 2 9B** - Balanced
|
| 37 |
+
|
| 38 |
+
## Deploy to Hugging Face Spaces
|
| 39 |
+
|
| 40 |
+
1. Go to https://huggingface.co/spaces
|
| 41 |
+
2. Create new Space with **Streamlit** SDK
|
| 42 |
+
3. Upload these 3 files
|
| 43 |
+
4. Done! π
|
| 44 |
+
|
| 45 |
+
## Local Setup
|
| 46 |
+
```bash
|
| 47 |
+
pip install -r requirements.txt
|
| 48 |
+
streamlit run app.py
|
| 49 |
+
```
|
| 50 |
+
|
| 51 |
+
## Get API Key
|
| 52 |
+
|
| 53 |
+
1. Visit https://console.groq.com
|
| 54 |
+
2. Sign up (free)
|
| 55 |
+
3. Create API key
|
| 56 |
+
4. Copy and paste in app
|
| 57 |
+
|
| 58 |
+
## License
|
| 59 |
+
MIT
|