Update app.py
Browse files
app.py
CHANGED
|
@@ -210,8 +210,8 @@ lang_choices_disp, lang_map = _build_choices_and_map(SUPPORTED_LANGUAGES)
|
|
| 210 |
lang_choices = ["Auto"] + lang_choices_disp
|
| 211 |
|
| 212 |
|
| 213 |
-
@spaces.GPU
|
| 214 |
-
def transcribe(audio_upload: Any, lang_disp: str, return_ts: bool):
|
| 215 |
"""
|
| 216 |
Main transcription function with ZeroGPU support.
|
| 217 |
"""
|
|
|
|
| 210 |
lang_choices = ["Auto"] + lang_choices_disp
|
| 211 |
|
| 212 |
|
| 213 |
+
@spaces.GPU
|
| 214 |
+
def transcribe(audio_upload: Any, lang_disp: str, return_ts: bool, progress=gr.Progress(track_tqdm=True)):
|
| 215 |
"""
|
| 216 |
Main transcription function with ZeroGPU support.
|
| 217 |
"""
|