Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -191,12 +191,12 @@ with gr.Blocks(css=css) as demo:
|
|
191 |
slider_y = gr.Dropdown(label="Slider X concept range", allow_custom_value=True, multiselect=True, max_choices=2)
|
192 |
prompt = gr.Textbox(label="Prompt")
|
193 |
submit = gr.Button("find directions")
|
194 |
-
with gr.
|
195 |
-
|
196 |
-
|
197 |
-
|
198 |
-
|
199 |
-
|
200 |
|
201 |
with gr.Accordion(label="advanced options", open=False):
|
202 |
iterations = gr.Slider(label = "num iterations", minimum=0, value=200, maximum=400)
|
@@ -220,12 +220,12 @@ with gr.Blocks(css=css) as demo:
|
|
220 |
img2img_type = gr.Radio(["controlnet canny", "ip adapter"], label="", info="")
|
221 |
prompt_a = gr.Textbox(label="Prompt")
|
222 |
submit_a = gr.Button("Submit")
|
223 |
-
with gr.
|
224 |
-
|
225 |
-
|
226 |
-
|
227 |
-
|
228 |
-
|
229 |
|
230 |
with gr.Accordion(label="advanced options", open=False):
|
231 |
iterations_a = gr.Slider(label = "num iterations", minimum=0, value=200, maximum=300)
|
|
|
191 |
slider_y = gr.Dropdown(label="Slider X concept range", allow_custom_value=True, multiselect=True, max_choices=2)
|
192 |
prompt = gr.Textbox(label="Prompt")
|
193 |
submit = gr.Button("find directions")
|
194 |
+
with gr.Column():
|
195 |
+
with gr.Group(elem_id="group"):
|
196 |
+
x = gr.Slider(minimum=-7, value=0, maximum=7, elem_id="x", interactive=False)
|
197 |
+
y = gr.Slider(minimum=-7, value=0, maximum=7, elem_id="y", interactive=False)
|
198 |
+
output_image = gr.Image(elem_id="image_out")
|
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)
|
|
|
220 |
img2img_type = gr.Radio(["controlnet canny", "ip adapter"], label="", info="")
|
221 |
prompt_a = gr.Textbox(label="Prompt")
|
222 |
submit_a = gr.Button("Submit")
|
223 |
+
with gr.Column():
|
224 |
+
with gr.Group(elem_id="group"):
|
225 |
+
x_a = gr.Slider(minimum=-10, value=0, maximum=10, elem_id="x", interactive=False)
|
226 |
+
y_a = gr.Slider(minimum=-10, value=0, maximum=10, elem_id="y", interactive=False)
|
227 |
+
output_image_a = gr.Image(elem_id="image_out")
|
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)
|