Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -6,7 +6,7 @@ import os
|
|
6 |
|
7 |
# Authenticate with Hugging Face
|
8 |
hf_api_token = os.getenv("HF_API_TOKEN")
|
9 |
-
login(token=hf_api_token)
|
10 |
|
11 |
# Initialize the Whisper processor and model
|
12 |
whisper_processor = WhisperProcessor.from_pretrained("openai/whisper-base")
|
|
|
6 |
|
7 |
# Authenticate with Hugging Face
|
8 |
hf_api_token = os.getenv("HF_API_TOKEN")
|
9 |
+
login(token=hf_api_token, add_to_git_credential=True)
|
10 |
|
11 |
# Initialize the Whisper processor and model
|
12 |
whisper_processor = WhisperProcessor.from_pretrained("openai/whisper-base")
|