Spaces:
Running
on
T4
Running
on
T4
Update app.py
Browse files
app.py
CHANGED
|
@@ -18,7 +18,7 @@ print(f"Using device: {device}")
|
|
| 18 |
|
| 19 |
@spaces.GPU(duration=120)
|
| 20 |
def pipe(file):
|
| 21 |
-
asr
|
| 22 |
task="automatic-speech-recognition",
|
| 23 |
model=MODEL_NAME,
|
| 24 |
chunk_length_s=30,
|
|
|
|
| 18 |
|
| 19 |
@spaces.GPU(duration=120)
|
| 20 |
def pipe(file):
|
| 21 |
+
asr = pipeline(
|
| 22 |
task="automatic-speech-recognition",
|
| 23 |
model=MODEL_NAME,
|
| 24 |
chunk_length_s=30,
|