raygiles3 commited on
Commit
01e9eb0
·
verified ·
1 Parent(s): 8cc6503

Update app.py

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