Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -8,7 +8,7 @@ import urllib.parse
|
|
8 |
import soundfile as sf
|
9 |
|
10 |
# Fetch Hugging Face API Token securely from environment variables
|
11 |
-
HF_API_TOKEN = os.getenv("
|
12 |
|
13 |
# Updated model URLs for Whisper and LLaMA
|
14 |
WHISPER_API_URL = "https://api-inference.huggingface.co/models/openai/whisper-large"
|
|
|
8 |
import soundfile as sf
|
9 |
|
10 |
# Fetch Hugging Face API Token securely from environment variables
|
11 |
+
HF_API_TOKEN = os.getenv("HF") # This fetches the token securely
|
12 |
|
13 |
# Updated model URLs for Whisper and LLaMA
|
14 |
WHISPER_API_URL = "https://api-inference.huggingface.co/models/openai/whisper-large"
|