ankush13r commited on
Commit
aa4b6f4
·
verified ·
1 Parent(s): 09e9f84

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -18,12 +18,12 @@ def transcribe(inputs):
18
 
19
  segments, _ = model.transcribe(
20
  inputs,
21
- # language="ca",
22
- # chunk_length=30,
23
  task="transcribe",
24
- word_timestamps=False,
25
- repetition_penalty=1.2,
26
- without_timestamps=True
 
27
  )
28
 
29
  text = ""
 
18
 
19
  segments, _ = model.transcribe(
20
  inputs,
21
+ chunk_length=30,
 
22
  task="transcribe",
23
+ word_timestamps=True,
24
+ repetition_penalty=1.1,
25
+ compression_ratio_threshold=3.0,
26
+ temperature=[0.0, 0.1, 0.2, 0.4, 0.6, 0.8, 1.0],
27
  )
28
 
29
  text = ""