versae commited on
Commit
84d6345
·
verified ·
1 Parent(s): c1541fb

Update app.py

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