Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -30,10 +30,6 @@ with gr.Blocks() as demo:
|
|
30 |
min_length = gr.Slider(
|
31 |
label="Min Length", minimum=1, maximum=10, value=10, step=1
|
32 |
)
|
33 |
-
beam_size = gr.Slider(label="Beam size", minimum=1, maximum=8, value=8, step=1)
|
34 |
-
througputs = gr.Radio(
|
35 |
-
label="througputs", choices=[1, 2, 3], value=1
|
36 |
-
)
|
37 |
|
38 |
def generate_caption(video, max_length, min_length, beam_size, througputs):
|
39 |
# read video
|
|
|
30 |
min_length = gr.Slider(
|
31 |
label="Min Length", minimum=1, maximum=10, value=10, step=1
|
32 |
)
|
|
|
|
|
|
|
|
|
33 |
|
34 |
def generate_caption(video, max_length, min_length, beam_size, througputs):
|
35 |
# read video
|