Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -511,8 +511,18 @@ def create_ui(app_config: ApplicationConfig):
|
|
511 |
|
512 |
is_queue_mode = app_config.queue_concurrency_count is not None and app_config.queue_concurrency_count > 0
|
513 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
514 |
simple_transcribe = gr.Interface(fn=ui.transcribe_webui_simple_progress if is_queue_mode else ui.transcribe_webui_simple,
|
515 |
-
|
516 |
*common_inputs(),
|
517 |
*common_vad_inputs(),
|
518 |
*common_word_timestamps_inputs(),
|
|
|
511 |
|
512 |
is_queue_mode = app_config.queue_concurrency_count is not None and app_config.queue_concurrency_count > 0
|
513 |
|
514 |
+
# simple_transcribe = gr.Interface(fn=ui.transcribe_webui_simple_progress if is_queue_mode else ui.transcribe_webui_simple,
|
515 |
+
# description=ui_description, article=ui_article, inputs=[
|
516 |
+
# *common_inputs(),
|
517 |
+
# *common_vad_inputs(),
|
518 |
+
# *common_word_timestamps_inputs(),
|
519 |
+
# ], outputs=[
|
520 |
+
# gr.File(label="Download"),
|
521 |
+
# gr.Text(label="Transcription"),
|
522 |
+
# gr.Text(label="Segments")
|
523 |
+
# ])
|
524 |
simple_transcribe = gr.Interface(fn=ui.transcribe_webui_simple_progress if is_queue_mode else ui.transcribe_webui_simple,
|
525 |
+
inputs=[
|
526 |
*common_inputs(),
|
527 |
*common_vad_inputs(),
|
528 |
*common_word_timestamps_inputs(),
|