Spaces:
Sleeping
Sleeping
Commit
·
243b3bb
1
Parent(s):
63794cb
fix: Force HUGGINGFACE_HUB_TOKEN to be present
Browse files
app.py
CHANGED
@@ -24,7 +24,7 @@ transcriber = pipeline(
|
|
24 |
task="automatic-speech-recognition",
|
25 |
model="alexandrainst/roest-315m",
|
26 |
device=device,
|
27 |
-
token=os.
|
28 |
)
|
29 |
transcription_fixer = PunctFixer(language="da", device=device)
|
30 |
|
|
|
24 |
task="automatic-speech-recognition",
|
25 |
model="alexandrainst/roest-315m",
|
26 |
device=device,
|
27 |
+
token=os.environ["HUGGINGFACE_HUB_TOKEN"],
|
28 |
)
|
29 |
transcription_fixer = PunctFixer(language="da", device=device)
|
30 |
|