Achitha commited on
Commit
fcae249
·
1 Parent(s): 098234f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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="translation",
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,