SivaResearch commited on
Commit
e090a56
·
verified ·
1 Parent(s): 5b6b5e8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -76,7 +76,7 @@ def transcribe(audio):
76
  def chat_interface(audio_tuple ):
77
  audio_path = audio_tuple[0] if isinstance(audio_tuple, tuple) else audio_tuple
78
 
79
- message = transcribe(audio)
80
  outputs = inference(message, model, tokenizer)
81
  return outputs
82
 
 
76
  def chat_interface(audio_tuple ):
77
  audio_path = audio_tuple[0] if isinstance(audio_tuple, tuple) else audio_tuple
78
 
79
+ message = transcribe(audio_path)
80
  outputs = inference(message, model, tokenizer)
81
  return outputs
82