Shad0ws commited on
Commit
e208a40
·
1 Parent(s): 5e7a095

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -345,11 +345,11 @@ def create_ui(input_audio_max_duration, share=False, server_name: str = None, se
345
  ui.set_parallel_devices(vad_parallel_devices)
346
  ui.set_auto_parallel(auto_parallel)
347
 
348
- ui_description = "Whisper is a general-purpose speech recognition model. It is trained on a large dataset of diverse "
349
- ui_description += " audio and is also a multi-task model that can perform multilingual speech recognition "
350
- ui_description += " as well as speech translation and language identification. "
351
 
352
- ui_description += "\n\n\n\nFor longer audio files (>10 minutes) not in English, it is recommended that you select Silero VAD (Voice Activity Detector) in the VAD option."
353
 
354
  if input_audio_max_duration > 0:
355
  ui_description += "\n\n" + "Max audio file length: " + str(input_audio_max_duration) + " s"
 
345
  ui.set_parallel_devices(vad_parallel_devices)
346
  ui.set_auto_parallel(auto_parallel)
347
 
348
+ # ui_description = "Whisper is a general-purpose speech recognition model. It is trained on a large dataset of diverse "
349
+ # ui_description += " audio and is also a multi-task model that can perform multilingual speech recognition "
350
+ # ui_description += " as well as speech translation and language identification. "
351
 
352
+ # ui_description += "\n\n\n\nFor longer audio files (>10 minutes) not in English, it is recommended that you select Silero VAD (Voice Activity Detector) in the VAD option."
353
 
354
  if input_audio_max_duration > 0:
355
  ui_description += "\n\n" + "Max audio file length: " + str(input_audio_max_duration) + " s"