jw2yang commited on
Commit
a5da834
•
1 Parent(s): d267638

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -1
app.py CHANGED
@@ -70,7 +70,13 @@ launch app
70
  title = "Instructional Image Editing"
71
  description = "<p style='text-align: center'> <a href='https://x-decoder-vl.github.io/' target='_blank'>Project Page</a> | <a href='https://arxiv.org/pdf/2212.11270.pdf' target='_blank'>Paper</a> | <a href='https://github.com/microsoft/X-Decoder' target='_blank'>Github Repo</a> | <a href='https://youtu.be/wYp6vmyolqE' target='_blank'>Video</a> </p>"
72
 
73
- article = "The Demo is Run on X-Decoder (Focal-T)."
 
 
 
 
 
 
74
 
75
  inputs = [gr.inputs.Image(type='pil'), gr.Textbox(label="instruction")]
76
  gr.Interface(
 
70
  title = "Instructional Image Editing"
71
  description = "<p style='text-align: center'> <a href='https://x-decoder-vl.github.io/' target='_blank'>Project Page</a> | <a href='https://arxiv.org/pdf/2212.11270.pdf' target='_blank'>Paper</a> | <a href='https://github.com/microsoft/X-Decoder' target='_blank'>Github Repo</a> | <a href='https://youtu.be/wYp6vmyolqE' target='_blank'>Video</a> </p>"
72
 
73
+ help_text = """
74
+ This demo is leveraging X-Decoder's fine-grained understanding for instruct-based image editing. You can use it to:
75
+ 1. Remove object, e.g., remove the dog in the image
76
+ 2. Change object, e.g., change the sky with a mountain
77
+ """
78
+
79
+ gr.Markdown(help_text)
80
 
81
  inputs = [gr.inputs.Image(type='pil'), gr.Textbox(label="instruction")]
82
  gr.Interface(