Yusin commited on
Commit
ed93ec4
1 Parent(s): f179117

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -78,9 +78,8 @@ def translate(audio):
78
  Sending audio to Whisper ...
79
 
80
  """)
81
-
82
- text_result = whisper(audio, None, "transcribe", fn_index=0)
83
  #_, text_result = whisper(audio, "", fn_index=0)
 
84
  print(text_result)
85
  return text_result
86
 
 
78
  Sending audio to Whisper ...
79
 
80
  """)
 
 
81
  #_, text_result = whisper(audio, "", fn_index=0)
82
+ text_result = whisper(audio, None, "transcribe", fn_index=0)
83
  print(text_result)
84
  return text_result
85