Spaces:
Running
Running
Update subgen.py
Browse files
subgen.py
CHANGED
@@ -73,10 +73,10 @@ def update_env_variables():
|
|
73 |
plexserver = os.getenv('PLEXSERVER', 'http://192.168.1.111:32400')
|
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', '
|
77 |
-
whisper_threads = int(os.getenv('WHISPER_THREADS',
|
78 |
-
concurrent_transcriptions = int(os.getenv('CONCURRENT_TRANSCRIPTIONS',
|
79 |
-
transcribe_device = os.getenv('TRANSCRIBE_DEVICE', '
|
80 |
procaddedmedia = convert_to_bool(os.getenv('PROCADDEDMEDIA', True))
|
81 |
procmediaonplay = convert_to_bool(os.getenv('PROCMEDIAONPLAY', True))
|
82 |
namesublang = os.getenv('NAMESUBLANG', 'aa')
|
|
|
73 |
plexserver = os.getenv('PLEXSERVER', 'http://192.168.1.111:32400')
|
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', 12))
|
78 |
+
concurrent_transcriptions = int(os.getenv('CONCURRENT_TRANSCRIPTIONS', 4))
|
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))
|
82 |
namesublang = os.getenv('NAMESUBLANG', 'aa')
|