Yehor commited on
Commit
93d23ff
·
verified ·
1 Parent(s): ce96ac1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -120,7 +120,7 @@ def inference(audio_path, progress=gr.Progress()):
120
  if not audio_path:
121
  raise gr.Error("Please upload an audio file.")
122
 
123
- gr.Info("Starting recognition", duration=2)
124
 
125
  progress(0, desc="Recognizing")
126
 
@@ -185,7 +185,7 @@ def inference(audio_path, progress=gr.Progress()):
185
  }
186
  )
187
 
188
- gr.Info("Finished!", duration=2)
189
 
190
  result_texts = []
191
 
 
120
  if not audio_path:
121
  raise gr.Error("Please upload an audio file.")
122
 
123
+ gr.Info("Starting...", duration=1)
124
 
125
  progress(0, desc="Recognizing")
126
 
 
185
  }
186
  )
187
 
188
+ gr.Success("Finished!", duration=0.5)
189
 
190
  result_texts = []
191