freealise commited on
Commit
5777cf8
1 Parent(s): bf0f429

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -158,8 +158,9 @@ with gr.Blocks() as demo:
158
  with gr.Column():
159
  url_input = gr.Textbox(value="./examples/streetview.mp4", label="URL")
160
  with gr.Row():
161
- interpolation = gr.Radio([1, 2, 4, 8, 16, 32], value=4, label="Interpolation Steps")
162
- fps_output = gr.Slider(minimum=1, maximum=32, step=1, value=32, label="FPS output")
 
163
  submit_btn = gr.Button("Submit")
164
 
165
  with gr.Column():
 
158
  with gr.Column():
159
  url_input = gr.Textbox(value="./examples/streetview.mp4", label="URL")
160
  with gr.Row():
161
+ interpolation = math.pow(2, gr.Slider(minimum=0, maximum=5, step=1, value=0, label="Interpolation Steps: " + interpolation))
162
+ #gr.Radio([1, 2, 4, 8, 16, 32], value=4, label="Interpolation Steps")
163
+ fps_output = math.pow(2, gr.Slider(minimum=0, maximum=5, step=1, value=5, label="FPS output: " + fps_output))
164
  submit_btn = gr.Button("Submit")
165
 
166
  with gr.Column():