Spaces:
Running
on
Zero
Running
on
Zero
fix token for pipeline
Browse files- whisper.py +1 -1
whisper.py
CHANGED
|
@@ -26,7 +26,7 @@ pipe = pipeline(
|
|
| 26 |
model=CKPT,
|
| 27 |
chunk_length_s=30,
|
| 28 |
device=device,
|
| 29 |
-
|
| 30 |
)
|
| 31 |
|
| 32 |
def post_process_transcription(example_transcription, max_repeats=1):
|
|
|
|
| 26 |
model=CKPT,
|
| 27 |
chunk_length_s=30,
|
| 28 |
device=device,
|
| 29 |
+
token=os.getenv("HF_TOKEN")
|
| 30 |
)
|
| 31 |
|
| 32 |
def post_process_transcription(example_transcription, max_repeats=1):
|