Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -18,12 +18,12 @@ def transcribe(inputs):
|
|
| 18 |
|
| 19 |
segments, _ = model.transcribe(
|
| 20 |
inputs,
|
| 21 |
-
|
| 22 |
-
# chunk_length=30,
|
| 23 |
task="transcribe",
|
| 24 |
-
word_timestamps=
|
| 25 |
-
repetition_penalty=1.
|
| 26 |
-
|
|
|
|
| 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 = ""
|