Rodrigo_Cobo commited on
Commit
cc62c8c
1 Parent(s): 8eba3ec

changes in video output

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -82,7 +82,7 @@ with gr.Blocks() as demo:
82
  out = [gr.Image(type="pil", label="depth_estimation")]
83
  with gr.Row():
84
  out.append(gr.Image(type="file", label="Output_wiggle_gif"))
85
- out.append(gr.Video(type="file", label="Output_wiggle_video"))
86
  out.append(gr.Image(type="file", label="Output_images"))
87
  btn = gr.Button("Calculate depth + Wiggle")
88
  btn.click(fn=calculate_depth, inputs=inp, outputs=out)
 
82
  out = [gr.Image(type="pil", label="depth_estimation")]
83
  with gr.Row():
84
  out.append(gr.Image(type="file", label="Output_wiggle_gif"))
85
+ out.append(gr.Video(label="Output_wiggle_video", format='mp4'))
86
  out.append(gr.Image(type="file", label="Output_images"))
87
  btn = gr.Button("Calculate depth + Wiggle")
88
  btn.click(fn=calculate_depth, inputs=inp, outputs=out)