mshukor HF Staff commited on
Commit
a8b4dfe
·
1 Parent(s): f508895

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -293,12 +293,12 @@ examples = [
293
  # ['examples/caption/soccer.jpg', 'Image Captioning', None],
294
  # ['examples/sheep.jpg', 'Visual Question Answering', 'where are the cats?'],
295
  # ['examples/one_piece.jpeg', 'Visual Grounding', 'a man in a straw hat and a red dress'],
296
- ['examples/skateboard.jpeg', 'General', 'which region does the text " a grey car " describe?'],
297
- ['examples/baseball.jpeg', 'General', 'what color is the left car?']
298
  ]
299
 
300
- title = "OFA"
301
- description = "Gradio Demo for OFA: Unifying Architectures, Tasks, and Modalities Through a Simple Sequence-to-Sequence Learning Framework"
302
  article = "<p style='text-align: center'><a href='http://arxiv.org/abs/2202.03052' target='_blank'>Paper</a> | <a href='https://github.com/OFA-Sys/OFA' target='_blank'>Github Repo</a></p>"
303
 
304
  io = gr.Interface(fn=inference, inputs=inputs, outputs=outputs,
 
293
  # ['examples/caption/soccer.jpg', 'Image Captioning', None],
294
  # ['examples/sheep.jpg', 'Visual Question Answering', 'where are the cats?'],
295
  # ['examples/one_piece.jpeg', 'Visual Grounding', 'a man in a straw hat and a red dress'],
296
+ ['examples/caption/skateboard.jpeg', 'General', 'which region does the text " a grey car " describe?'],
297
+ ['examples/caption/baseball.jpeg', 'General', 'what color is the left car?']
298
  ]
299
 
300
+ title = "UnIVAL"
301
+ description = "Gradio Demo for UnIVAL: "
302
  article = "<p style='text-align: center'><a href='http://arxiv.org/abs/2202.03052' target='_blank'>Paper</a> | <a href='https://github.com/OFA-Sys/OFA' target='_blank'>Github Repo</a></p>"
303
 
304
  io = gr.Interface(fn=inference, inputs=inputs, outputs=outputs,