Rodrigo_Cobo
commited on
Commit
·
9e2cd5a
1
Parent(s):
24dac97
addapted some text stuff
Browse files
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="
|
| 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="
|
| 79 |
-
gr.Image(type="file", label="
|
| 80 |
-
btn = gr.Button("
|
| 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()
|