Spaces:
Runtime error
Runtime error
Commit ·
d7fec45
1
Parent(s): 4b01587
Update app.py
Browse files
app.py
CHANGED
|
@@ -14,7 +14,6 @@ pipe = ASRDiarizationPipeline(
|
|
| 14 |
device=device,
|
| 15 |
)
|
| 16 |
|
| 17 |
-
pipe.model.config.forced_decoder_ids = pipe.tokenizer.get_decoder_prompt_ids(language=lang, task="transcribe")
|
| 18 |
|
| 19 |
def transcribe(microphone, file_upload):
|
| 20 |
warn_output = ""
|
|
|
|
| 14 |
device=device,
|
| 15 |
)
|
| 16 |
|
|
|
|
| 17 |
|
| 18 |
def transcribe(microphone, file_upload):
|
| 19 |
warn_output = ""
|