Spaces:
Runtime error
Runtime error
Update launcher.py
Browse files- launcher.py +4 -4
launcher.py
CHANGED
|
@@ -41,12 +41,12 @@ def prompt_and_save_bazarr_env_variables():
|
|
| 41 |
)
|
| 42 |
print(instructions)
|
| 43 |
env_vars = {
|
| 44 |
-
'WHISPER_MODEL': ('Whisper Model', 'Enter the Whisper model you want to run: tiny, tiny.en, base, base.en, small, small.en, medium, medium.en, large, distil-large-v2, distil-medium.en, distil-small.en', '
|
| 45 |
'WEBHOOKPORT': ('Webhook Port', 'Default listening port for subgen.py', '9000'),
|
| 46 |
-
'TRANSCRIBE_DEVICE': ('Transcribe Device', 'Set as cpu or gpu', '
|
| 47 |
# Defaulting to False here for the prompt, user can change
|
| 48 |
-
'DEBUG': ('Debug', 'Enable debug logging (true/false)', '
|
| 49 |
-
'CLEAR_VRAM_ON_COMPLETE': ('Clear VRAM', 'Attempt to clear VRAM when complete (Windows users may need to set this to False)', '
|
| 50 |
'APPEND': ('Append', 'Append \'Transcribed by whisper\' to generated subtitle (true/false)', 'False'),
|
| 51 |
}
|
| 52 |
|
|
|
|
| 41 |
)
|
| 42 |
print(instructions)
|
| 43 |
env_vars = {
|
| 44 |
+
'WHISPER_MODEL': ('Whisper Model', 'Enter the Whisper model you want to run: tiny, tiny.en, base, base.en, small, small.en, medium, medium.en, large, distil-large-v2, distil-medium.en, distil-small.en', 'distil-large-v3.5'),
|
| 45 |
'WEBHOOKPORT': ('Webhook Port', 'Default listening port for subgen.py', '9000'),
|
| 46 |
+
'TRANSCRIBE_DEVICE': ('Transcribe Device', 'Set as cpu or gpu', 'cpu'),
|
| 47 |
# Defaulting to False here for the prompt, user can change
|
| 48 |
+
'DEBUG': ('Debug', 'Enable debug logging (true/false)', 'true'),
|
| 49 |
+
'CLEAR_VRAM_ON_COMPLETE': ('Clear VRAM', 'Attempt to clear VRAM when complete (Windows users may need to set this to False)', 'true'),
|
| 50 |
'APPEND': ('Append', 'Append \'Transcribed by whisper\' to generated subtitle (true/false)', 'False'),
|
| 51 |
}
|
| 52 |
|