Spaces:
Sleeping
Sleeping
s-tier-plots
commited on
Commit
•
50c889b
1
Parent(s):
9b1b701
Update app.py
Browse files
app.py
CHANGED
@@ -578,17 +578,15 @@ def create_ui(app_config: ApplicationConfig):
|
|
578 |
is_whisper = False
|
579 |
|
580 |
if app_config.whisper_implementation == "whisper":
|
581 |
-
implementation_name = "
|
582 |
is_whisper = True
|
583 |
elif app_config.whisper_implementation in ["faster-whisper", "faster_whisper"]:
|
584 |
-
implementation_name = "
|
585 |
else:
|
586 |
# Try to convert from camel-case to title-case
|
587 |
implementation_name = app_config.whisper_implementation.title().replace("_", " ").replace("-", " ")
|
588 |
|
589 |
-
ui_description = implementation_name + " is
|
590 |
-
ui_description += " audio and is also a multi-task model that can perform multilingual speech recognition "
|
591 |
-
ui_description += " as well as speech translation and language identification. "
|
592 |
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."
|
593 |
|
594 |
if app_config.input_audio_max_duration > 0:
|
|
|
578 |
is_whisper = False
|
579 |
|
580 |
if app_config.whisper_implementation == "whisper":
|
581 |
+
implementation_name = "whisper4jav"
|
582 |
is_whisper = True
|
583 |
elif app_config.whisper_implementation in ["faster-whisper", "faster_whisper"]:
|
584 |
+
implementation_name = "faster whisper4jav"
|
585 |
else:
|
586 |
# Try to convert from camel-case to title-case
|
587 |
implementation_name = app_config.whisper_implementation.title().replace("_", " ").replace("-", " ")
|
588 |
|
589 |
+
ui_description = implementation_name + " is forked copy of whisper webgui with 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 |
|
592 |
if app_config.input_audio_max_duration > 0:
|