imrnh commited on
Commit
d509ae0
1 Parent(s): 7ab5f9c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -11,7 +11,7 @@ torch_dtype = torch.float16 if torch.cuda.is_available() else torch.float32
11
  model_id = "openai/whisper-large-v3"
12
 
13
  model = AutoModelForSpeechSeq2Seq.from_pretrained(
14
- model_id, torch_dtype=torch_dtype, low_cpu_mem_usage=True, use_safetensors=True
15
  )
16
  model.to(device)
17
 
 
11
  model_id = "openai/whisper-large-v3"
12
 
13
  model = AutoModelForSpeechSeq2Seq.from_pretrained(
14
+ model_id, torch_dtype=torch_dtype, use_safetensors=True
15
  )
16
  model.to(device)
17