elina12 commited on
Commit
0874235
1 Parent(s): 3786660

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -4
app.py CHANGED
@@ -8,10 +8,11 @@ pipe = pipeline("automatic-speech-recognition", model=model_id)
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
 
 
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