Spaces:
Running
Running
Update subgen.py
Browse files
subgen.py
CHANGED
@@ -74,8 +74,8 @@ def update_env_variables():
|
|
74 |
jellyfintoken = os.getenv('JELLYFINTOKEN', 'token here')
|
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',
|
78 |
-
concurrent_transcriptions = int(os.getenv('CONCURRENT_TRANSCRIPTIONS',
|
79 |
transcribe_device = os.getenv('TRANSCRIBE_DEVICE', 'cuda')
|
80 |
procaddedmedia = convert_to_bool(os.getenv('PROCADDEDMEDIA', True))
|
81 |
procmediaonplay = convert_to_bool(os.getenv('PROCMEDIAONPLAY', True))
|
|
|
74 |
jellyfintoken = os.getenv('JELLYFINTOKEN', 'token here')
|
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', 6))
|
78 |
+
concurrent_transcriptions = int(os.getenv('CONCURRENT_TRANSCRIPTIONS', 2))
|
79 |
transcribe_device = os.getenv('TRANSCRIBE_DEVICE', 'cuda')
|
80 |
procaddedmedia = convert_to_bool(os.getenv('PROCADDEDMEDIA', True))
|
81 |
procmediaonplay = convert_to_bool(os.getenv('PROCMEDIAONPLAY', True))
|