jw2yang commited on
Commit
31a600f
•
1 Parent(s): 47dd336

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -6
app.py CHANGED
@@ -67,7 +67,7 @@ def inference(image, instruction, *args, **kwargs):
67
  '''
68
  launch app
69
  '''
70
- title = "X-Decoder + GPT-3 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)."
@@ -79,11 +79,7 @@ gr.Interface(
79
  outputs=[
80
  gr.outputs.Image(
81
  type="pil",
82
- label="segmentation results"),
83
- gr.Textbox(label="text restuls"),
84
- gr.outputs.Image(
85
- type="pil",
86
- label="inpainting results"),
87
  ],
88
  examples=[
89
  ["./images/apples.jpg", "change green apple to a red apple"],
 
67
  '''
68
  launch app
69
  '''
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)."
 
79
  outputs=[
80
  gr.outputs.Image(
81
  type="pil",
82
+ label="edit result"),
 
 
 
 
83
  ],
84
  examples=[
85
  ["./images/apples.jpg", "change green apple to a red apple"],