RamAnanth1 commited on
Commit
56c5e88
·
1 Parent(s): e14d0da

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -11,7 +11,7 @@ conv_session_id = cohere_chat_res_start.session_id
11
  whisper = gr.Interface.load(name="spaces/sanchit-gandhi/whisper-large-v2")
12
 
13
 
14
- def translate_or_transcribe(audio, task):
15
  return whisper(audio, None, "translate", fn_index=0)
16
 
17
  def get_response_from_chatbot(text):
 
11
  whisper = gr.Interface.load(name="spaces/sanchit-gandhi/whisper-large-v2")
12
 
13
 
14
+ def translate_or_transcribe(audio):
15
  return whisper(audio, None, "translate", fn_index=0)
16
 
17
  def get_response_from_chatbot(text):