Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -26,13 +26,12 @@ def interpolate(steps,fps):
|
|
26 |
|
27 |
return gr.Video(value = 'test.mp4')
|
28 |
|
29 |
-
output_interpolation = gr.Video()
|
30 |
-
STEPS = gr.Slider(1, 100, step=1)
|
31 |
-
FPS = gr.Slider(1, 50, step=1)
|
32 |
-
demo = gr.Blocks()
|
33 |
-
|
34 |
|
|
|
35 |
with demo:
|
|
|
|
|
|
|
36 |
btn = gr.Button("Submit")
|
37 |
btn.click(interpolate, inputs=[STEPS ,FPS], outputs=[output_interpolation])
|
38 |
|
|
|
26 |
|
27 |
return gr.Video(value = 'test.mp4')
|
28 |
|
|
|
|
|
|
|
|
|
|
|
29 |
|
30 |
+
demo = gr.Blocks()
|
31 |
with demo:
|
32 |
+
output_interpolation = gr.Video()
|
33 |
+
STEPS = gr.Slider(1, 100, step=1)
|
34 |
+
FPS = gr.Slider(1, 50, step=1)
|
35 |
btn = gr.Button("Submit")
|
36 |
btn.click(interpolate, inputs=[STEPS ,FPS], outputs=[output_interpolation])
|
37 |
|