elina12 commited on
Commit
7fba9fe
1 Parent(s): 0874235

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -5
app.py CHANGED
@@ -8,11 +8,10 @@ pipe = pipeline("automatic-speech-recognition", model=model_id)
8
 
9
  def transcribe(filepath):
10
  output = pipe(
11
- filepath
12
-
13
- # max_new_tokens=10000,
14
- # chunk_length_s=30,
15
- # batch_size=8,
16
  )
17
  return output["text"]
18
 
 
8
 
9
  def transcribe(filepath):
10
  output = pipe(
11
+ filepath,
12
+ max_new_tokens=10000,
13
+ chunk_length_s=30,
14
+ batch_size=8,
 
15
  )
16
  return output["text"]
17