hbs2 commited on
Commit
22b64c1
1 Parent(s): 8290e06

Update subgen.py

Browse files
Files changed (1) hide show
  1. subgen.py +2 -2
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', 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))
 
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))