Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -170,7 +170,7 @@ if __name__ == "__main__":
|
|
170 |
with gr.Column():
|
171 |
|
172 |
gr.Markdown("Type image coordinates manually or click on the image directly:")
|
173 |
-
coord_input = gr.Textbox(label="Pixel Coordinates (x,y), Format x1,y1; x2,y2 ..."
|
174 |
reset_button = gr.Button("Reset coordinates")
|
175 |
reload_image_button = gr.Button("Clear Image")
|
176 |
reload_output_button = gr.Button("Load Output")
|
@@ -198,7 +198,7 @@ if __name__ == "__main__":
|
|
198 |
Here is the mask uploaded directly from the gradio script, if you wish to change it,
|
199 |
use the Mask Generation Preview Tab and click the 'Load Preview Mask' button.
|
200 |
""")
|
201 |
-
mask_image = gr.Image(label="Input Mask (Optional)", sources='upload', type="pil"
|
202 |
|
203 |
with gr.Tab("Inpainting - Object Replacement"):
|
204 |
tab_task_selector_2 = gr.Dropdown(["Stable Diffusion with ControlNet Inpainting",
|
|
|
170 |
with gr.Column():
|
171 |
|
172 |
gr.Markdown("Type image coordinates manually or click on the image directly:")
|
173 |
+
coord_input = gr.Textbox(label="Pixel Coordinates (x,y), Format x1,y1; x2,y2 ...")
|
174 |
reset_button = gr.Button("Reset coordinates")
|
175 |
reload_image_button = gr.Button("Clear Image")
|
176 |
reload_output_button = gr.Button("Load Output")
|
|
|
198 |
Here is the mask uploaded directly from the gradio script, if you wish to change it,
|
199 |
use the Mask Generation Preview Tab and click the 'Load Preview Mask' button.
|
200 |
""")
|
201 |
+
mask_image = gr.Image(label="Input Mask (Optional)", sources='upload', type="pil")
|
202 |
|
203 |
with gr.Tab("Inpainting - Object Replacement"):
|
204 |
tab_task_selector_2 = gr.Dropdown(["Stable Diffusion with ControlNet Inpainting",
|