Update app.py
Browse files
app.py
CHANGED
@@ -164,10 +164,10 @@ with gr.Blocks() as demo:
|
|
164 |
url_input = gr.Textbox(value="./examples/streetview.mp4", label="URL")
|
165 |
with gr.Row():
|
166 |
interpolation_slider = gr.Slider(minimum=0, maximum=5, step=1, value=0, label="Interpolation Steps: ")
|
167 |
-
interpolation = gr.Label(value=math.pow(2, interpolation_slider.value))
|
168 |
interpolation.input(fn=logscale, inputs=[interpolation_slider], outputs=[interpolation])
|
169 |
fps_output_slider = gr.Slider(minimum=0, maximum=5, step=1, value=5, label="FPS output: ")
|
170 |
-
fps_output = gr.Label(value=math.pow(2, fps_output_slider.value))
|
171 |
fps_output.input(fn=logscale, inputs=[fps_output_slider], outputs=[fps_output])
|
172 |
submit_btn = gr.Button("Submit")
|
173 |
|
|
|
164 |
url_input = gr.Textbox(value="./examples/streetview.mp4", label="URL")
|
165 |
with gr.Row():
|
166 |
interpolation_slider = gr.Slider(minimum=0, maximum=5, step=1, value=0, label="Interpolation Steps: ")
|
167 |
+
interpolation = gr.Label(input=interpolation_slider, value=math.pow(2, interpolation_slider.value))
|
168 |
interpolation.input(fn=logscale, inputs=[interpolation_slider], outputs=[interpolation])
|
169 |
fps_output_slider = gr.Slider(minimum=0, maximum=5, step=1, value=5, label="FPS output: ")
|
170 |
+
fps_output = gr.Label(input=fps_output_slider, value=math.pow(2, fps_output_slider.value))
|
171 |
fps_output.input(fn=logscale, inputs=[fps_output_slider], outputs=[fps_output])
|
172 |
submit_btn = gr.Button("Submit")
|
173 |
|