FredBonux commited on
Commit
fed42dc
ยท
1 Parent(s): 2f8b01b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -13,7 +13,7 @@ pipe = pipeline("automatic-speech-recognition", model="FredBonux/whisper-small-i
13
  def transcribe(audio):
14
  ita = pipe(audio)["text"]
15
  eng = translator.translate_text(ita, target_lang=TARGET_LANG).text
16
- print(f"{ita} -> {text_en}")
17
  return ita, eng
18
 
19
  def transcribe_url(url):
 
13
  def transcribe(audio):
14
  ita = pipe(audio)["text"]
15
  eng = translator.translate_text(ita, target_lang=TARGET_LANG).text
16
+ print(f"{ita} -> {eng}")
17
  return ita, eng
18
 
19
  def transcribe_url(url):