Spaces:
Sleeping
Sleeping
s-tier-plots
commited on
Commit
•
85b6ca1
1
Parent(s):
e744928
Update app.py
Browse files
app.py
CHANGED
@@ -628,7 +628,7 @@ def create_ui(app_config: ApplicationConfig):
|
|
628 |
|
629 |
is_queue_mode = app_config.queue_concurrency_count is not None and app_config.queue_concurrency_count > 0
|
630 |
|
631 |
-
simple_transcribe = gr.Interface(
|
632 |
description=ui_description, inputs=[
|
633 |
*common_inputs(),
|
634 |
*common_vad_inputs(),
|
@@ -642,7 +642,7 @@ def create_ui(app_config: ApplicationConfig):
|
|
642 |
|
643 |
full_description = ui_description + "\n\n\n\n" + "Be careful when changing some of the options in the full interface - this can cause the model to crash."
|
644 |
|
645 |
-
full_transcribe = gr.Interface(
|
646 |
description=full_description, inputs=[
|
647 |
*common_inputs(),
|
648 |
|
|
|
628 |
|
629 |
is_queue_mode = app_config.queue_concurrency_count is not None and app_config.queue_concurrency_count > 0
|
630 |
|
631 |
+
simple_transcribe = gr.Interface(fn=ui.transcribe_webui_simple_progress if is_queue_mode else ui.transcribe_webui_simple,
|
632 |
description=ui_description, inputs=[
|
633 |
*common_inputs(),
|
634 |
*common_vad_inputs(),
|
|
|
642 |
|
643 |
full_description = ui_description + "\n\n\n\n" + "Be careful when changing some of the options in the full interface - this can cause the model to crash."
|
644 |
|
645 |
+
full_transcribe = gr.Interface(fn=ui.transcribe_webui_full_progress if is_queue_mode else ui.transcribe_webui_full,
|
646 |
description=full_description, inputs=[
|
647 |
*common_inputs(),
|
648 |
|