akhaliq HF staff commited on
Commit
a697303
1 Parent(s): 247029b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -1
app.py CHANGED
@@ -1,3 +1,7 @@
1
  import gradio as gr
2
 
3
- gr.Interface.load("huggingface/sail/poolformer_m48").launch()
 
 
 
 
 
1
  import gradio as gr
2
 
3
+ title="PoolFormer"
4
+ description="Gradio demo for PoolFormer:MetaFormer is Actually What You Need for Vision. To use it simply upload your image or click on one of the examples to load them. Read more at the links below."
5
+ article = "<p style='text-align: center'><a href='https://arxiv.org/abs/2111.11418' target='_blank'>MetaFormer is Actually What You Need for Vision</a> | <a href='https://github.com/sail-sg/poolformer' target='_blank'>Github Repo</a></p>"
6
+ examples=[['cat.png']]
7
+ gr.Interface.load("huggingface/sail/poolformer_m48",title=title,description=description,article=article,examples=examples).launch(enable_queue=True)