Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -66,7 +66,6 @@ def transcribe(file_upload, progress=gr.Progress(track_tqdm=True)): # microphone
|
|
66 |
pipe = pipeline("automatic-speech-recognition",
|
67 |
model="NbAiLab/nb-whisper-large",
|
68 |
chunk_length_s=30,
|
69 |
-
forced_decoder_ids=None, # -- explicitly set to None
|
70 |
device=device)
|
71 |
|
72 |
text = pipe(file)["text"]
|
|
|
66 |
pipe = pipeline("automatic-speech-recognition",
|
67 |
model="NbAiLab/nb-whisper-large",
|
68 |
chunk_length_s=30,
|
|
|
69 |
device=device)
|
70 |
|
71 |
text = pipe(file)["text"]
|