hbs2 commited on
Commit
6d18996
·
verified ·
1 Parent(s): 015947e

Update subgen.py

Browse files
Files changed (1) hide show
  1. subgen.py +1 -1
subgen.py CHANGED
@@ -76,7 +76,7 @@ def update_env_variables():
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', 5))
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')
 
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', 5))
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')