matt576 commited on
Commit
9f197b0
·
verified ·
1 Parent(s): c7d5935

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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 ...", value="")
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", value="")
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",