hareballak commited on
Commit
1b9b43e
·
verified ·
1 Parent(s): ef8e716

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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("HF_API_TOKEN") # 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"
 
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"