Spaces:
Runtime error
Runtime error
ritwikraha
commited on
Commit
•
5c058da
1
Parent(s):
112da9b
fix: column and row
Browse files
app.py
CHANGED
@@ -55,7 +55,8 @@ with gr.Blocks() as demo:
|
|
55 |
guidance_scale_slider = gr.Slider(label="Guidance Scale", minimum=1, maximum=5, value=3)
|
56 |
steps_slider = gr.Slider(label="Number of Inference Steps", minimum=20, maximum=100, value=50)
|
57 |
submit_button = gr.Button("Submit")
|
58 |
-
|
|
|
59 |
|
60 |
submit_button.click(
|
61 |
fn=generate_sketch,
|
|
|
55 |
guidance_scale_slider = gr.Slider(label="Guidance Scale", minimum=1, maximum=5, value=3)
|
56 |
steps_slider = gr.Slider(label="Number of Inference Steps", minimum=20, maximum=100, value=50)
|
57 |
submit_button = gr.Button("Submit")
|
58 |
+
with gr.Column():
|
59 |
+
output_image = gr.Image(label="Generated Sketch")
|
60 |
|
61 |
submit_button.click(
|
62 |
fn=generate_sketch,
|