Update app.py
Browse files
app.py
CHANGED
@@ -12,7 +12,7 @@ model_id = "openai/whisper-large-v3"
|
|
12 |
model = AutoModelForSpeechSeq2Seq.from_pretrained(
|
13 |
model_id, torch_dtype=torch_dtype, low_cpu_mem_usage=True, use_safetensors=True
|
14 |
)
|
15 |
-
model = model.to_bettertransformer()
|
16 |
model.to(device)
|
17 |
|
18 |
processor = AutoProcessor.from_pretrained(model_id)
|
|
|
12 |
model = AutoModelForSpeechSeq2Seq.from_pretrained(
|
13 |
model_id, torch_dtype=torch_dtype, low_cpu_mem_usage=True, use_safetensors=True
|
14 |
)
|
15 |
+
# model = model.to_bettertransformer()
|
16 |
model.to(device)
|
17 |
|
18 |
processor = AutoProcessor.from_pretrained(model_id)
|