Update app.py
Browse files
app.py
CHANGED
|
@@ -8,7 +8,7 @@ MODEL_NAME = "mistralai/Mixtral-8x7B-Instruct-v0.1"
|
|
| 8 |
|
| 9 |
def ask_ai(message, history):
|
| 10 |
if not API_KEY:
|
| 11 |
-
return "
|
| 12 |
|
| 13 |
url = "https://api.together.xyz/v1/chat/completions"
|
| 14 |
headers = {
|
|
|
|
| 8 |
|
| 9 |
def ask_ai(message, history):
|
| 10 |
if not API_KEY:
|
| 11 |
+
return "API key not found. Please set it in Settings → Secrets."
|
| 12 |
|
| 13 |
url = "https://api.together.xyz/v1/chat/completions"
|
| 14 |
headers = {
|