Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -10,7 +10,7 @@ lang = "ta"
|
|
| 10 |
|
| 11 |
device = 0 if torch.cuda.is_available() else "cpu"
|
| 12 |
pipe = pipeline(
|
| 13 |
-
task="
|
| 14 |
model=MODEL_NAME,
|
| 15 |
chunk_length_s=30,
|
| 16 |
device=device,
|
|
|
|
| 10 |
|
| 11 |
device = 0 if torch.cuda.is_available() else "cpu"
|
| 12 |
pipe = pipeline(
|
| 13 |
+
task="automatic-speech-recognition",
|
| 14 |
model=MODEL_NAME,
|
| 15 |
chunk_length_s=30,
|
| 16 |
device=device,
|