Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -7,7 +7,7 @@ import tempfile
|
|
7 |
import os
|
8 |
|
9 |
MODEL_NAME = "ylacombe/whisper-large-v3-turbo"
|
10 |
-
BATCH_SIZE =
|
11 |
device = 0 if torch.cuda.is_available() else "cpu"
|
12 |
|
13 |
pipe = pipeline(
|
|
|
7 |
import os
|
8 |
|
9 |
MODEL_NAME = "ylacombe/whisper-large-v3-turbo"
|
10 |
+
BATCH_SIZE = 1
|
11 |
device = 0 if torch.cuda.is_available() else "cpu"
|
12 |
|
13 |
pipe = pipeline(
|