Spaces:
Paused
Paused
WIP
Browse files
app.py
CHANGED
@@ -160,8 +160,8 @@ file_transcribe = gr.Interface(
|
|
160 |
gr.Audio(sources="upload", type="filepath", label="Audio file"),
|
161 |
gr.Checkbox(label="Include timestamps", value=True),
|
162 |
gr.Checkbox(label="Generate subtitles", value=True),
|
163 |
-
gr.Slider(minimum=1, maximum=
|
164 |
-
gr.Slider(minimum=
|
165 |
],
|
166 |
outputs=[
|
167 |
gr.JSON(label="Transcription", open=True),
|
|
|
160 |
gr.Audio(sources="upload", type="filepath", label="Audio file"),
|
161 |
gr.Checkbox(label="Include timestamps", value=True),
|
162 |
gr.Checkbox(label="Generate subtitles", value=True),
|
163 |
+
gr.Slider(minimum=1, maximum=128, value=8, step=1, label="Batch Size"),
|
164 |
+
gr.Slider(minimum=5, maximum=30, value=15, step=5, label="Chunk Length (seconds)"),
|
165 |
],
|
166 |
outputs=[
|
167 |
gr.JSON(label="Transcription", open=True),
|