Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
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
|
124 |
|
125 |
progress(0, desc="Recognizing")
|
126 |
|
@@ -185,7 +185,7 @@ def inference(audio_path, progress=gr.Progress()):
|
|
185 |
}
|
186 |
)
|
187 |
|
188 |
-
gr.
|
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 |
|