avfranco commited on
Commit
359ae82
1 Parent(s): 812682a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -36,6 +36,7 @@ def respond_to_question_llama(transcript, question):
36
  def audio_transcribe(inputs):
37
  if inputs is None:
38
  raise gr.Error("No audio file submitted! Please upload or record an audio file before submitting your request.")
 
39
 
40
  text = pipe(inputs, batch_size=BATCH_SIZE, return_timestamps=True)['text']
41
 
 
36
  def audio_transcribe(inputs):
37
  if inputs is None:
38
  raise gr.Error("No audio file submitted! Please upload or record an audio file before submitting your request.")
39
+ return
40
 
41
  text = pipe(inputs, batch_size=BATCH_SIZE, return_timestamps=True)['text']
42