spygaurad commited on
Commit
41036ef
1 Parent(s): 90e307d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -11,7 +11,7 @@ lang = "ne"
11
  device = 0 if torch.cuda.is_available() else "cpu"
12
  pipe = pipeline(
13
  task="automatic-speech-recognition",
14
- model=model,
15
  chunk_length_s=30,
16
  device=device,
17
  )
 
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,
17
  )