Rodrigo_Cobo commited on
Commit
9e2cd5a
1 Parent(s): 24dac97

addapted some text stuff

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -69,15 +69,15 @@ with gr.Blocks() as demo:
69
 
70
  with gr.Row():
71
  inp.append(gr.Image(type="pil", label="Input"))
72
- out = gr.Image(type="file", label="Output")
73
  btn = gr.Button("Calculate depth")
74
  btn.click(fn=calculate_depth, inputs=inp, outputs=out)
75
 
76
  inp = [gr.Slider(1,15, default = 2, label='StepCycles',step= 1)]
77
  with gr.Row():
78
- out = [ gr.Image(type="file", label="Output"),
79
- gr.Image(type="file", label="Output")]
80
- btn = gr.Button("Calculate depth")
81
  btn.click(fn=wiggle_effect, inputs=inp, outputs=out)
82
 
83
  demo.launch()
 
69
 
70
  with gr.Row():
71
  inp.append(gr.Image(type="pil", label="Input"))
72
+ out = gr.Image(type="file", label="depth_estimation")
73
  btn = gr.Button("Calculate depth")
74
  btn.click(fn=calculate_depth, inputs=inp, outputs=out)
75
 
76
  inp = [gr.Slider(1,15, default = 2, label='StepCycles',step= 1)]
77
  with gr.Row():
78
+ out = [ gr.Image(type="file", label="Output_images"), #TODO change to gallery
79
+ gr.Image(type="file", label="Output_wiggle")]
80
+ btn = gr.Button("Generate Wigglegram")
81
  btn.click(fn=wiggle_effect, inputs=inp, outputs=out)
82
 
83
  demo.launch()