Shad0ws commited on
Commit
479087d
1 Parent(s): 446ef2b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +11 -1
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
- description=ui_description, article=ui_article, inputs=[
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(),