niulx commited on
Commit
c153827
1 Parent(s): dde1106

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -186,6 +186,9 @@ with gr.Blocks() as demo:
186
  with gr.Row():
187
  with gr.Column():
188
  canvas = gr.Image(value = "./img.png", type="numpy", label="Draw Mask", show_label=True, height=LENGTH, width=LENGTH, interactive=True)
 
 
 
189
 
190
  with gr.Column():
191
  result_info0 = gr.Text(label="Response")
 
186
  with gr.Row():
187
  with gr.Column():
188
  canvas = gr.Image(value = "./img.png", type="numpy", label="Draw Mask", show_label=True, height=LENGTH, width=LENGTH, interactive=True)
189
+ gr.Markdown("""<p style="text-align: left; font-size: 16px">Each image requires a single segmentation and optimization operation.\n
190
+ Afterwards, you can modify the mask ID and prompt for image editing. \n
191
+ The D-edit link is: https://arxiv.org/abs/2403.04880v2"</p>""")
192
 
193
  with gr.Column():
194
  result_info0 = gr.Text(label="Response")