Spaces:
Runtime error
Runtime error
lixiang46
commited on
Commit
·
6e2cf60
1
Parent(s):
46b364b
update
Browse files
app.py
CHANGED
|
@@ -116,17 +116,6 @@ with gr.Blocks(css=css) as demo:
|
|
| 116 |
|
| 117 |
with gr.Row():
|
| 118 |
with gr.Column(elem_id="col-left"):
|
| 119 |
-
with gr.Row():
|
| 120 |
-
ip_adapter_image = gr.Image(label="IP-Adapter Image", type="pil")
|
| 121 |
-
with gr.Row():
|
| 122 |
-
ip_adapter_scale = gr.Slider(
|
| 123 |
-
label="Image influence scale",
|
| 124 |
-
info="Use 1 for creating variations",
|
| 125 |
-
minimum=0.0,
|
| 126 |
-
maximum=1.0,
|
| 127 |
-
step=0.05,
|
| 128 |
-
value=0.5,
|
| 129 |
-
)
|
| 130 |
with gr.Row():
|
| 131 |
prompt = gr.Text(
|
| 132 |
label="Prompt",
|
|
@@ -136,6 +125,8 @@ with gr.Blocks(css=css) as demo:
|
|
| 136 |
container=False,
|
| 137 |
)
|
| 138 |
run_button = gr.Button("Run", scale=0)
|
|
|
|
|
|
|
| 139 |
with gr.Accordion("Advanced Settings", open=False):
|
| 140 |
negative_prompt = gr.Text(
|
| 141 |
label="Negative prompt",
|
|
@@ -181,6 +172,15 @@ with gr.Blocks(css=css) as demo:
|
|
| 181 |
step=1,
|
| 182 |
value=25,
|
| 183 |
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 184 |
|
| 185 |
with gr.Column(elem_id="col-right"):
|
| 186 |
result = gr.Image(label="Result", show_label=False)
|
|
|
|
| 116 |
|
| 117 |
with gr.Row():
|
| 118 |
with gr.Column(elem_id="col-left"):
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 119 |
with gr.Row():
|
| 120 |
prompt = gr.Text(
|
| 121 |
label="Prompt",
|
|
|
|
| 125 |
container=False,
|
| 126 |
)
|
| 127 |
run_button = gr.Button("Run", scale=0)
|
| 128 |
+
with gr.Row():
|
| 129 |
+
ip_adapter_image = gr.Image(label="IP-Adapter Image", type="pil")
|
| 130 |
with gr.Accordion("Advanced Settings", open=False):
|
| 131 |
negative_prompt = gr.Text(
|
| 132 |
label="Negative prompt",
|
|
|
|
| 172 |
step=1,
|
| 173 |
value=25,
|
| 174 |
)
|
| 175 |
+
with gr.Row():
|
| 176 |
+
ip_adapter_scale = gr.Slider(
|
| 177 |
+
label="Image influence scale",
|
| 178 |
+
info="Use 1 for creating variations",
|
| 179 |
+
minimum=0.0,
|
| 180 |
+
maximum=1.0,
|
| 181 |
+
step=0.05,
|
| 182 |
+
value=0.5,
|
| 183 |
+
)
|
| 184 |
|
| 185 |
with gr.Column(elem_id="col-right"):
|
| 186 |
result = gr.Image(label="Result", show_label=False)
|