Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -78,10 +78,11 @@ with gr.Blocks(css=css) as demo:
|
|
78 |
)
|
79 |
textbox = gr.Textbox(show_label=False, value="a person facing the camera, making a hand gesture, indoor")
|
80 |
seed = gr.Slider(label="Seed", minimum=0, maximum=1000000, value=42)
|
81 |
-
|
82 |
|
83 |
-
|
|
|
84 |
|
85 |
-
|
86 |
|
87 |
demo.queue(max_size=10).launch(debug=True)
|
|
|
78 |
)
|
79 |
textbox = gr.Textbox(show_label=False, value="a person facing the camera, making a hand gesture, indoor")
|
80 |
seed = gr.Slider(label="Seed", minimum=0, maximum=1000000, value=42)
|
81 |
+
submit_btn = gr.Button("Submit")
|
82 |
|
83 |
+
with gr.Column():
|
84 |
+
output_image = gr.Image(label="Fixed hands result")
|
85 |
|
86 |
+
submit_btn.click(fn=generate, inputs=[image, textbox, seed], outputs=[output_image])
|
87 |
|
88 |
demo.queue(max_size=10).launch(debug=True)
|