Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -8,10 +8,8 @@ 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-
|
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 |
|
|
|
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-7B-Instruct-v0.2"
|
|
|
12 |
|
|
|
13 |
# Set up headers for API requests
|
14 |
headers = {"Authorization": f"Bearer {api_key}"}
|
15 |
|