Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -26,7 +26,7 @@ speaker_embeddings = torch.tensor(embeddings_dataset[7306]["xvector"]).unsqueeze
|
|
26 |
|
27 |
|
28 |
def translate(audio):
|
29 |
-
outputs = asr_pipe(audio, max_new_tokens=256, generate_kwargs={"task": "transcribe", "language": "
|
30 |
return outputs["text"]
|
31 |
|
32 |
|
|
|
26 |
|
27 |
|
28 |
def translate(audio):
|
29 |
+
outputs = asr_pipe(audio, max_new_tokens=256, generate_kwargs={"task": "transcribe", "language": "de"})
|
30 |
return outputs["text"]
|
31 |
|
32 |
|