Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -221,7 +221,8 @@ with gr.Blocks(css=css) as demo:
|
|
221 |
x = gr.Slider(minimum=-7, value=0, maximum=7, elem_id="x", interactive=False)
|
222 |
y = gr.Slider(minimum=-7, value=0, maximum=7, elem_id="y", interactive=False)
|
223 |
output_image = gr.Image(elem_id="image_out")
|
224 |
-
|
|
|
225 |
|
226 |
with gr.Accordion(label="advanced options", open=False):
|
227 |
iterations = gr.Slider(label = "num iterations", minimum=0, value=200, maximum=400)
|
@@ -250,7 +251,8 @@ with gr.Blocks(css=css) as demo:
|
|
250 |
x_a = gr.Slider(minimum=-10, value=0, maximum=10, elem_id="x", interactive=False)
|
251 |
y_a = gr.Slider(minimum=-10, value=0, maximum=10, elem_id="y", interactive=False)
|
252 |
output_image_a = gr.Image(elem_id="image_out")
|
253 |
-
|
|
|
254 |
|
255 |
with gr.Accordion(label="advanced options", open=False):
|
256 |
iterations_a = gr.Slider(label = "num iterations", minimum=0, value=200, maximum=300)
|
@@ -292,7 +294,8 @@ with gr.Blocks(css=css) as demo:
|
|
292 |
x_inv = gr.Slider(minimum=-10, value=0, maximum=10, elem_id="x", interactive=False)
|
293 |
y_inv = gr.Slider(minimum=-10, value=0, maximum=10, elem_id="y", interactive=False)
|
294 |
output_image_inv = gr.Image(elem_id="image_out")
|
295 |
-
|
|
|
296 |
|
297 |
with gr.Accordion(label="advanced options", open=False):
|
298 |
iterations_inv = gr.Slider(label = "num iterations", minimum=0, value=200, maximum=300)
|
|
|
221 |
x = gr.Slider(minimum=-7, value=0, maximum=7, elem_id="x", interactive=False)
|
222 |
y = gr.Slider(minimum=-7, value=0, maximum=7, elem_id="y", interactive=False)
|
223 |
output_image = gr.Image(elem_id="image_out")
|
224 |
+
with gr.Row():
|
225 |
+
generate_butt = gr.Button("generate")
|
226 |
|
227 |
with gr.Accordion(label="advanced options", open=False):
|
228 |
iterations = gr.Slider(label = "num iterations", minimum=0, value=200, maximum=400)
|
|
|
251 |
x_a = gr.Slider(minimum=-10, value=0, maximum=10, elem_id="x", interactive=False)
|
252 |
y_a = gr.Slider(minimum=-10, value=0, maximum=10, elem_id="y", interactive=False)
|
253 |
output_image_a = gr.Image(elem_id="image_out")
|
254 |
+
with gr.Row():
|
255 |
+
generate_butt_a = gr.Button("generate")
|
256 |
|
257 |
with gr.Accordion(label="advanced options", open=False):
|
258 |
iterations_a = gr.Slider(label = "num iterations", minimum=0, value=200, maximum=300)
|
|
|
294 |
x_inv = gr.Slider(minimum=-10, value=0, maximum=10, elem_id="x", interactive=False)
|
295 |
y_inv = gr.Slider(minimum=-10, value=0, maximum=10, elem_id="y", interactive=False)
|
296 |
output_image_inv = gr.Image(elem_id="image_out")
|
297 |
+
with gr.Row():
|
298 |
+
generate_butt_inv = gr.Button("generate")
|
299 |
|
300 |
with gr.Accordion(label="advanced options", open=False):
|
301 |
iterations_inv = gr.Slider(label = "num iterations", minimum=0, value=200, maximum=300)
|