Spaces:
Build error
Build error
camparchimedes
commited on
Commit
•
d18b751
1
Parent(s):
7079dcc
Update app.py
Browse files
app.py
CHANGED
@@ -48,6 +48,8 @@ import time
|
|
48 |
|
49 |
nltk.download('punkt')
|
50 |
|
|
|
|
|
51 |
# transcription
|
52 |
processor = AutoProcessor.from_pretrained("NbAiLabBeta/nb-whisper-large-semantic")
|
53 |
transcription_model = AutoModelForSpeechSeq2Seq.from_pretrained("NbAiLabBeta/nb-whisper-large-semantic")
|
|
|
48 |
|
49 |
nltk.download('punkt')
|
50 |
|
51 |
+
HF_AUTH_TOKEN = os.getenv('HF_AUTH_TOKEN')
|
52 |
+
|
53 |
# transcription
|
54 |
processor = AutoProcessor.from_pretrained("NbAiLabBeta/nb-whisper-large-semantic")
|
55 |
transcription_model = AutoModelForSpeechSeq2Seq.from_pretrained("NbAiLabBeta/nb-whisper-large-semantic")
|