Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -195,7 +195,8 @@ with gr.Blocks(css=css) as demo:
|
|
| 195 |
x = gr.Slider(minimum=-7, value=0, maximum=7, elem_id="x", interactive=False)
|
| 196 |
y = gr.Slider(minimum=-7, value=0, maximum=7, elem_id="y", interactive=False)
|
| 197 |
output_image = gr.Image(elem_id="image_out")
|
| 198 |
-
|
|
|
|
| 199 |
|
| 200 |
with gr.Accordion(label="advanced options", open=False):
|
| 201 |
iterations = gr.Slider(label = "num iterations", minimum=0, value=200, maximum=400)
|
|
@@ -223,7 +224,8 @@ with gr.Blocks(css=css) as demo:
|
|
| 223 |
x_a = gr.Slider(minimum=-10, value=0, maximum=10, elem_id="x", interactive=False)
|
| 224 |
y_a = gr.Slider(minimum=-10, value=0, maximum=10, elem_id="y", interactive=False)
|
| 225 |
output_image_a = gr.Image(elem_id="image_out")
|
| 226 |
-
|
|
|
|
| 227 |
|
| 228 |
with gr.Accordion(label="advanced options", open=False):
|
| 229 |
iterations_a = gr.Slider(label = "num iterations", minimum=0, value=200, maximum=300)
|
|
|
|
| 195 |
x = gr.Slider(minimum=-7, value=0, maximum=7, elem_id="x", interactive=False)
|
| 196 |
y = gr.Slider(minimum=-7, value=0, maximum=7, elem_id="y", interactive=False)
|
| 197 |
output_image = gr.Image(elem_id="image_out")
|
| 198 |
+
with gr.Row():
|
| 199 |
+
generate_butt = gr.Button("generate")
|
| 200 |
|
| 201 |
with gr.Accordion(label="advanced options", open=False):
|
| 202 |
iterations = gr.Slider(label = "num iterations", minimum=0, value=200, maximum=400)
|
|
|
|
| 224 |
x_a = gr.Slider(minimum=-10, value=0, maximum=10, elem_id="x", interactive=False)
|
| 225 |
y_a = gr.Slider(minimum=-10, value=0, maximum=10, elem_id="y", interactive=False)
|
| 226 |
output_image_a = gr.Image(elem_id="image_out")
|
| 227 |
+
with gr.Row():
|
| 228 |
+
generate_butt_a = gr.Button("generate")
|
| 229 |
|
| 230 |
with gr.Accordion(label="advanced options", open=False):
|
| 231 |
iterations_a = gr.Slider(label = "num iterations", minimum=0, value=200, maximum=300)
|