arroyadr commited on
Commit
599f8dc
1 Parent(s): 2200b46

Fixed typo

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -21,7 +21,7 @@ speaker_embeddings = torch.tensor(embeddings_dataset[7306]["xvector"]).unsqueeze
21
 
22
 
23
  def translate(audio, language="es"):
24
- outputs = asr_pipe(audio, max_new_tokens=256, generate_kwargs={"task": "transcribe", language=language})
25
  return outputs["text"]
26
 
27
 
 
21
 
22
 
23
  def translate(audio, language="es"):
24
+ outputs = asr_pipe(audio, max_new_tokens=256, generate_kwargs={"task": "transcribe", "language": language})
25
  return outputs["text"]
26
 
27