yuangongfdu commited on
Commit
3af9b1f
1 Parent(s): 3d1236b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -16,6 +16,7 @@ def round_time_resolution(time_resolution):
16
  return rounded_time_resolution
17
 
18
  def predict(audio_path_m, audio_path_t, time_resolution):
 
19
  if (audio_path_m is None) != (audio_path_t is None):
20
  return "Please only upload one recording, either upload it or record using microphone.", "Please only upload one recording, either upload it or record using microphone."
21
  else:
 
16
  return rounded_time_resolution
17
 
18
  def predict(audio_path_m, audio_path_t, time_resolution):
19
+ return asr_output, at_output
20
  if (audio_path_m is None) != (audio_path_t is None):
21
  return "Please only upload one recording, either upload it or record using microphone.", "Please only upload one recording, either upload it or record using microphone."
22
  else: