s-tier-plots commited on
Commit
fb36077
1 Parent(s): 921932d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -585,6 +585,7 @@ def create_ui(app_config: ApplicationConfig):
585
  # Try to convert from camel-case to title-case
586
  implementation_name = app_config.whisper_implementation.title().replace("_", " ").replace("-", " ")
587
 
 
588
  ui_description = implementation_name + " is forked copy of whisper webgui with a supression list of common, unnessary transcriptions"
589
  ui_description += "\n\n\n\nFor longer audio files (>10 minutes) it is recommended that you select Silero VAD (Voice Activity Detector) in the VAD option."
590
 
@@ -627,7 +628,7 @@ def create_ui(app_config: ApplicationConfig):
627
 
628
  is_queue_mode = app_config.queue_concurrency_count is not None and app_config.queue_concurrency_count > 0
629
 
630
- simple_transcribe = gr.Interface(fn=ui.transcribe_webui_simple_progress if is_queue_mode else ui.transcribe_webui_simple,
631
  description=ui_description, inputs=[
632
  *common_inputs(),
633
  *common_vad_inputs(),
@@ -641,7 +642,7 @@ def create_ui(app_config: ApplicationConfig):
641
 
642
  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."
643
 
644
- full_transcribe = gr.Interface(fn=ui.transcribe_webui_full_progress if is_queue_mode else ui.transcribe_webui_full,
645
  description=full_description, inputs=[
646
  *common_inputs(),
647
 
 
585
  # Try to convert from camel-case to title-case
586
  implementation_name = app_config.whisper_implementation.title().replace("_", " ").replace("-", " ")
587
 
588
+ ui_title = "whisper4jav (ui)"
589
  ui_description = implementation_name + " is forked copy of whisper webgui with a supression list of common, unnessary transcriptions"
590
  ui_description += "\n\n\n\nFor longer audio files (>10 minutes) it is recommended that you select Silero VAD (Voice Activity Detector) in the VAD option."
591
 
 
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(title=ui_title, 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(title=ui_title, fn=ui.transcribe_webui_full_progress if is_queue_mode else ui.transcribe_webui_full,
646
  description=full_description, inputs=[
647
  *common_inputs(),
648