Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -3,7 +3,7 @@ import os
|
|
| 3 |
import requests
|
| 4 |
|
| 5 |
# Mistral API setup
|
| 6 |
-
MISTRAL_API_KEY = os.getenv("MISTRAL_API_KEY", "
|
| 7 |
MISTRAL_API_URL = "https://api.mistral.ai/v1/chat/completions "
|
| 8 |
|
| 9 |
def query_mistral(prompt, max_tokens=1024, temperature=0.7):
|
|
|
|
| 3 |
import requests
|
| 4 |
|
| 5 |
# Mistral API setup
|
| 6 |
+
MISTRAL_API_KEY = os.getenv("MISTRAL_API_KEY", "yQdfM8MLbX9uhInQ7id4iUTwN4h4pDLX")
|
| 7 |
MISTRAL_API_URL = "https://api.mistral.ai/v1/chat/completions "
|
| 8 |
|
| 9 |
def query_mistral(prompt, max_tokens=1024, temperature=0.7):
|