Andy1621 commited on
Commit
92159f4
·
1 Parent(s): e514b07

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -1
app.py CHANGED
@@ -67,4 +67,9 @@ description = "Gradio demo for UniFormer: To use it, simply upload your image, o
67
  article = "<p style='text-align: center'><a href='https://arxiv.org/abs/2201.09450' target='_blank'>UniFormer: Unifying Convolution and Self-attention for Visual Recognition</a> | <a href='https://github.com/Sense-X/UniFormer' target='_blank'>Github Repo</a></p>"
68
 
69
 
70
- gr.Interface(inference, inputs, outputs=label, title=title, description=description, article=article, examples=[['library.jpg']]).launch(enable_queue=True,cache_examples=True)
 
 
 
 
 
 
67
  article = "<p style='text-align: center'><a href='https://arxiv.org/abs/2201.09450' target='_blank'>UniFormer: Unifying Convolution and Self-attention for Visual Recognition</a> | <a href='https://github.com/Sense-X/UniFormer' target='_blank'>Github Repo</a></p>"
68
 
69
 
70
+ gr.Interface(
71
+ inference, inputs, outputs=label,
72
+ title=title, description=description,
73
+ article=article,
74
+ examples=[['library.jpg'], ['cat.png'], ['dog.png'], ['panda.png']]
75
+ ).launch(enable_queue=True, cache_examples=True)