Spaces:
Runtime error
Runtime error
lixiang46
commited on
Commit
β’
d890da3
1
Parent(s):
405e2af
update
Browse files
app.py
CHANGED
@@ -109,7 +109,7 @@ examples = [
|
|
109 |
css="""
|
110 |
#col-left {
|
111 |
margin: 0 auto;
|
112 |
-
max-width:
|
113 |
}
|
114 |
#col-right {
|
115 |
margin: 0 auto;
|
@@ -132,8 +132,8 @@ with gr.Blocks(css=css) as Kolors:
|
|
132 |
show_label=False,
|
133 |
placeholder="Enter your prompt",
|
134 |
container=False,
|
|
|
135 |
)
|
136 |
-
run_button = gr.Button("Run", scale=0)
|
137 |
with gr.Row():
|
138 |
ip_adapter_image = gr.Image(label="Image Prompt (optional)", type="pil")
|
139 |
with gr.Accordion("Advanced Settings", open=False):
|
@@ -189,6 +189,8 @@ with gr.Blocks(css=css) as Kolors:
|
|
189 |
step=0.05,
|
190 |
value=0.5,
|
191 |
)
|
|
|
|
|
192 |
|
193 |
with gr.Column(elem_id="col-right"):
|
194 |
result = gr.Image(label="Result", show_label=False)
|
|
|
109 |
css="""
|
110 |
#col-left {
|
111 |
margin: 0 auto;
|
112 |
+
max-width: 600px;
|
113 |
}
|
114 |
#col-right {
|
115 |
margin: 0 auto;
|
|
|
132 |
show_label=False,
|
133 |
placeholder="Enter your prompt",
|
134 |
container=False,
|
135 |
+
lines=2
|
136 |
)
|
|
|
137 |
with gr.Row():
|
138 |
ip_adapter_image = gr.Image(label="Image Prompt (optional)", type="pil")
|
139 |
with gr.Accordion("Advanced Settings", open=False):
|
|
|
189 |
step=0.05,
|
190 |
value=0.5,
|
191 |
)
|
192 |
+
with gr.Row():
|
193 |
+
run_button = gr.Button("Run", scale=0)
|
194 |
|
195 |
with gr.Column(elem_id="col-right"):
|
196 |
result = gr.Image(label="Result", show_label=False)
|