kfahn commited on
Commit
9108a79
1 Parent(s): 53ff69e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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": "nl"})
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