freealise commited on
Commit
f10b588
1 Parent(s): 84e6545

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -90,7 +90,7 @@ def create_video(frames, fps, type):
90
  return type + "_result.mp4"
91
 
92
 
93
- def infer(url_in,interpolation,resize,fps_output):
94
 
95
  fps_output = logscale(fps_output)
96
  # 1. break video into frames and get FPS
@@ -211,11 +211,11 @@ with gr.Blocks() as demo:
211
  gr.Examples(
212
  examples=[["./examples/streetview.mp4", 1, 1]],
213
  fn=infer,
214
- inputs=[url_input,interpolation_slider,resize_num,fps_output_slider],
215
  outputs=[video_output,file_output,depth_output],
216
  cache_examples=True
217
  )
218
 
219
- submit_btn.click(fn=infer, inputs=[url_input,interpolation_slider,resize_num,fps_output_slider], outputs=[video_output, file_output, depth_output])
220
 
221
  demo.launch()
 
90
  return type + "_result.mp4"
91
 
92
 
93
+ def infer(url_in,interpolation,fps_output,resize):
94
 
95
  fps_output = logscale(fps_output)
96
  # 1. break video into frames and get FPS
 
211
  gr.Examples(
212
  examples=[["./examples/streetview.mp4", 1, 1]],
213
  fn=infer,
214
+ inputs=[url_input,interpolation_slider,fps_output_slider,resize_num],
215
  outputs=[video_output,file_output,depth_output],
216
  cache_examples=True
217
  )
218
 
219
+ submit_btn.click(fn=infer, inputs=[url_input,interpolation_slider,fps_output_slider,resize_num], outputs=[video_output, file_output, depth_output])
220
 
221
  demo.launch()