HarryLee commited on
Commit
b745025
1 Parent(s): 6710444

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -115,8 +115,8 @@ def image_caption(Image):
115
  title = "eRupt e-Commerce Image Captioning"
116
  description = "Online Demo for e-Commerce Image Captioning. Upload your own image or click any one of the examples, and click " \
117
  "\"Submit\" and then wait for the generated caption. "
118
- #article = "<p style='text-align: center'><a href='https://github.com/OFA-Sys/OFA' target='_blank'>OFA Github " \
119
- # "Repo</a></p> "
120
  examples = [['0001.jpg'], ['0002.jpg'], ['0003.jpg'], ['0004.jpg'], ['0005.jpg']]
121
  io = gr.Interface(fn=image_caption, inputs=gr.inputs.Image(type='pil'), outputs=gr.outputs.Textbox(label="Caption"),
122
  title=title, description=description, article=article, examples=examples,
 
115
  title = "eRupt e-Commerce Image Captioning"
116
  description = "Online Demo for e-Commerce Image Captioning. Upload your own image or click any one of the examples, and click " \
117
  "\"Submit\" and then wait for the generated caption. "
118
+ article = "<p style='text-align: center'><a href='https://github.com/heli510' target='_blank'>LIHE Github " \
119
+ "Repo</a></p> "
120
  examples = [['0001.jpg'], ['0002.jpg'], ['0003.jpg'], ['0004.jpg'], ['0005.jpg']]
121
  io = gr.Interface(fn=image_caption, inputs=gr.inputs.Image(type='pil'), outputs=gr.outputs.Textbox(label="Caption"),
122
  title=title, description=description, article=article, examples=examples,