hbs2 commited on
Commit
305232b
1 Parent(s): 09b8dc6

Update subgen.py

Browse files
Files changed (1) hide show
  1. subgen.py +4 -4
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', 'medium')
77
- whisper_threads = int(os.getenv('WHISPER_THREADS', 4))
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))
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')