Spaces:
Sleeping
Sleeping
fix bug
Browse files
app.py
CHANGED
|
@@ -291,6 +291,7 @@ def flash_buttons():
|
|
| 291 |
) + btn_updates
|
| 292 |
|
| 293 |
|
|
|
|
| 294 |
def handle_TTS_selection_wrapper(display_name: str):
|
| 295 |
"""
|
| 296 |
Wrapper function to convert TTS display name to actual model name
|
|
@@ -312,6 +313,7 @@ def handle_TTS_selection_wrapper(display_name: str):
|
|
| 312 |
continue
|
| 313 |
|
| 314 |
|
|
|
|
| 315 |
def handle_LLM_selection_wrapper(option: str):
|
| 316 |
"""
|
| 317 |
Run LLM model selection without clearing existing output widgets.
|
|
@@ -320,6 +322,7 @@ def handle_LLM_selection_wrapper(option: str):
|
|
| 320 |
continue
|
| 321 |
|
| 322 |
|
|
|
|
| 323 |
def handle_ASR_selection_wrapper(option: str):
|
| 324 |
"""
|
| 325 |
Run ASR model selection without clearing existing output widgets.
|
|
|
|
| 291 |
) + btn_updates
|
| 292 |
|
| 293 |
|
| 294 |
+
@spaces.GPU
|
| 295 |
def handle_TTS_selection_wrapper(display_name: str):
|
| 296 |
"""
|
| 297 |
Wrapper function to convert TTS display name to actual model name
|
|
|
|
| 313 |
continue
|
| 314 |
|
| 315 |
|
| 316 |
+
@spaces.GPU
|
| 317 |
def handle_LLM_selection_wrapper(option: str):
|
| 318 |
"""
|
| 319 |
Run LLM model selection without clearing existing output widgets.
|
|
|
|
| 322 |
continue
|
| 323 |
|
| 324 |
|
| 325 |
+
@spaces.GPU
|
| 326 |
def handle_ASR_selection_wrapper(option: str):
|
| 327 |
"""
|
| 328 |
Run ASR model selection without clearing existing output widgets.
|