Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -103,13 +103,13 @@ with image_blocks as demo:
|
|
103 |
with gr.Row():
|
104 |
with gr.Column():
|
105 |
image = gr.Image(label="Input Image", interactive=True, elem_id="input_image")
|
106 |
-
with gr.Row(elem_id="prompt-container",
|
107 |
with gr.Row():
|
108 |
prompt = gr.Textbox(placeholder="Your prompt (what you want in place of what is erased)", show_label=False, elem_id="prompt")
|
109 |
btn = gr.Button("Inpaint!", elem_id="run_button")
|
110 |
|
111 |
with gr.Accordion(label="Advanced Settings", open=False):
|
112 |
-
with gr.Row(
|
113 |
guidance_scale = gr.Number(value=7.5, minimum=1.0, maximum=10.0, step=0.5, label="guidance_scale")
|
114 |
steps = gr.Number(value=30, minimum=20, maximum=50, step=1, label="steps")
|
115 |
strength = gr.Number(value=0.99, minimum=0.01, maximum=1.0, step=0.01, label="strength")
|
|
|
103 |
with gr.Row():
|
104 |
with gr.Column():
|
105 |
image = gr.Image(label="Input Image", interactive=True, elem_id="input_image")
|
106 |
+
with gr.Row(elem_id="prompt-container", equal_height=True):
|
107 |
with gr.Row():
|
108 |
prompt = gr.Textbox(placeholder="Your prompt (what you want in place of what is erased)", show_label=False, elem_id="prompt")
|
109 |
btn = gr.Button("Inpaint!", elem_id="run_button")
|
110 |
|
111 |
with gr.Accordion(label="Advanced Settings", open=False):
|
112 |
+
with gr.Row(equal_height=True):
|
113 |
guidance_scale = gr.Number(value=7.5, minimum=1.0, maximum=10.0, step=0.5, label="guidance_scale")
|
114 |
steps = gr.Number(value=30, minimum=20, maximum=50, step=1, label="steps")
|
115 |
strength = gr.Number(value=0.99, minimum=0.01, maximum=1.0, step=0.01, label="strength")
|