Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -153,7 +153,7 @@ with gr.Blocks() as demo:
|
|
| 153 |
with gr.Column():
|
| 154 |
video_input = gr.Video(source="upload", type="filepath")
|
| 155 |
with gr.Row():
|
| 156 |
-
interpolation = gr.Slider(minimum=
|
| 157 |
fps_output = gr.Radio([8, 12, 24], label="FPS output", value=8)
|
| 158 |
submit_btn = gr.Button("Submit")
|
| 159 |
|
|
@@ -162,7 +162,7 @@ with gr.Blocks() as demo:
|
|
| 162 |
file_output = gr.File()
|
| 163 |
|
| 164 |
gr.Examples(
|
| 165 |
-
examples=[["./examples/yoda-fps2.mp4",
|
| 166 |
fn=infer,
|
| 167 |
inputs=[video_input,interpolation,fps_output],
|
| 168 |
outputs=[video_output,file_output],
|
|
|
|
| 153 |
with gr.Column():
|
| 154 |
video_input = gr.Video(source="upload", type="filepath")
|
| 155 |
with gr.Row():
|
| 156 |
+
interpolation = gr.Slider(minimum=1,maximum=4,step=1, value=1, label="Interpolation Steps")
|
| 157 |
fps_output = gr.Radio([8, 12, 24], label="FPS output", value=8)
|
| 158 |
submit_btn = gr.Button("Submit")
|
| 159 |
|
|
|
|
| 162 |
file_output = gr.File()
|
| 163 |
|
| 164 |
gr.Examples(
|
| 165 |
+
examples=[["./examples/yoda-fps2.mp4", 1, 12]],
|
| 166 |
fn=infer,
|
| 167 |
inputs=[video_input,interpolation,fps_output],
|
| 168 |
outputs=[video_output,file_output],
|