Update subgen.py
This commit is contained in:
@@ -58,7 +58,6 @@ hf_batch_size = int(os.getenv('HF_BATCH_SIZE', 24))
|
|||||||
clear_vram_on_complete = convert_to_bool(os.getenv('CLEAR_VRAM_ON_COMPLETE', True))
|
clear_vram_on_complete = convert_to_bool(os.getenv('CLEAR_VRAM_ON_COMPLETE', True))
|
||||||
compute_type = os.getenv('COMPUTE_TYPE', 'auto')
|
compute_type = os.getenv('COMPUTE_TYPE', 'auto')
|
||||||
append = convert_to_bool(os.getenv('APPEND', False))
|
append = convert_to_bool(os.getenv('APPEND', False))
|
||||||
timestamps = convert_to_bool(os.getenv('TIMESTAMPS', True))
|
|
||||||
|
|
||||||
if transcribe_device == "gpu":
|
if transcribe_device == "gpu":
|
||||||
transcribe_device = "cuda"
|
transcribe_device = "cuda"
|
||||||
|
|||||||
Reference in New Issue
Block a user