poolformer / app.py
akhaliq's picture
akhaliq HF staff
Update app.py
17a31df
raw
history blame contribute delete
652 Bytes
import gradio as gr
title="PoolFormer"
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."
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>"
examples=[['cat.png']]
gr.Interface.load("huggingface/sail/poolformer_m48",title=title,description=description,article=article,examples=examples).launch(enable_queue=True)