Spaces:
Runtime error
Runtime error
Update subgen.py
Browse files
subgen.py
CHANGED
|
@@ -114,7 +114,7 @@ jellyfintoken = get_env_with_fallback('JELLYFIN_TOKEN', 'JELLYFINTOKEN', 'token
|
|
| 114 |
jellyfinserver = get_env_with_fallback('JELLYFIN_SERVER', 'JELLYFINSERVER', 'http://192.168.1.111:8096')
|
| 115 |
|
| 116 |
# Whisper Configuration
|
| 117 |
-
whisper_model = os.getenv('WHISPER_MODEL', '
|
| 118 |
whisper_threads = int(os.getenv('WHISPER_THREADS', 4))
|
| 119 |
concurrent_transcriptions = int(os.getenv('CONCURRENT_TRANSCRIPTIONS', 2))
|
| 120 |
transcribe_device = os.getenv('TRANSCRIBE_DEVICE', 'cpu')
|
|
|
|
| 114 |
jellyfinserver = get_env_with_fallback('JELLYFIN_SERVER', 'JELLYFINSERVER', 'http://192.168.1.111:8096')
|
| 115 |
|
| 116 |
# Whisper Configuration
|
| 117 |
+
whisper_model = os.getenv('WHISPER_MODEL', 'large-v3-turbo')
|
| 118 |
whisper_threads = int(os.getenv('WHISPER_THREADS', 4))
|
| 119 |
concurrent_transcriptions = int(os.getenv('CONCURRENT_TRANSCRIPTIONS', 2))
|
| 120 |
transcribe_device = os.getenv('TRANSCRIBE_DEVICE', 'cpu')
|