Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -8,8 +8,10 @@ api_key = os.getenv("HUGGINGFACEHUB_API_TOKEN")
|
|
| 8 |
|
| 9 |
# API URLs
|
| 10 |
WHISPER_API_URL = "https://api-inference.huggingface.co/models/openai/whisper-large-v3-turbo"
|
| 11 |
-
MISTRAL_API_URL = "https://api-inference.huggingface.co/models/mistralai/Mistral-Nemo-Instruct-2407"
|
|
|
|
| 12 |
|
|
|
|
| 13 |
# Set up headers for API requests
|
| 14 |
headers = {"Authorization": f"Bearer {api_key}"}
|
| 15 |
|
|
|
|
| 8 |
|
| 9 |
# API URLs
|
| 10 |
WHISPER_API_URL = "https://api-inference.huggingface.co/models/openai/whisper-large-v3-turbo"
|
| 11 |
+
#MISTRAL_API_URL = "https://api-inference.huggingface.co/models/mistralai/Mistral-Nemo-Instruct-2407"
|
| 12 |
+
MISTRAL_API_URL = "https://api-inference.huggingface.co/models/deepseek-ai/DeepSeek-R1"
|
| 13 |
|
| 14 |
+
deepseek-ai/DeepSeek-R1
|
| 15 |
# Set up headers for API requests
|
| 16 |
headers = {"Authorization": f"Bearer {api_key}"}
|
| 17 |
|