Spaces:
Runtime error
Runtime error
Update subgen.py
Browse files
subgen.py
CHANGED
|
@@ -75,7 +75,7 @@ def update_env_variables():
|
|
| 75 |
jellyfinserver = os.getenv('JELLYFINSERVER', 'http://192.168.1.111:8096')
|
| 76 |
whisper_model = os.getenv('WHISPER_MODEL', 'large-v3')
|
| 77 |
whisper_threads = int(os.getenv('WHISPER_THREADS', 10))
|
| 78 |
-
concurrent_transcriptions = int(os.getenv('CONCURRENT_TRANSCRIPTIONS',
|
| 79 |
transcribe_device = os.getenv('TRANSCRIBE_DEVICE', 'CPU')
|
| 80 |
procaddedmedia = convert_to_bool(os.getenv('PROCADDEDMEDIA', True))
|
| 81 |
procmediaonplay = convert_to_bool(os.getenv('PROCMEDIAONPLAY', True))
|
|
|
|
| 75 |
jellyfinserver = os.getenv('JELLYFINSERVER', 'http://192.168.1.111:8096')
|
| 76 |
whisper_model = os.getenv('WHISPER_MODEL', 'large-v3')
|
| 77 |
whisper_threads = int(os.getenv('WHISPER_THREADS', 10))
|
| 78 |
+
concurrent_transcriptions = int(os.getenv('CONCURRENT_TRANSCRIPTIONS', 2))
|
| 79 |
transcribe_device = os.getenv('TRANSCRIBE_DEVICE', 'CPU')
|
| 80 |
procaddedmedia = convert_to_bool(os.getenv('PROCADDEDMEDIA', True))
|
| 81 |
procmediaonplay = convert_to_bool(os.getenv('PROCMEDIAONPLAY', True))
|