Ahsen Khaliq
commited on
Commit
•
936caa4
1
Parent(s):
e8ff1e3
Update app.py
Browse files
app.py
CHANGED
@@ -111,5 +111,5 @@ description = "Gradio Demo for Masked Autoencoders Are Scalable Vision Learners.
|
|
111 |
|
112 |
article = "<p style='text-align: center'><a href='https://arxiv.org/abs/2111.06377' target='_blank'>Masked Autoencoders Are Scalable Vision Learners</a>| <a href='https://github.com/facebookresearch/mae' target='_blank'>Github Repo</a></p> <center><img src='https://visitor-badge.glitch.me/badge?page_id=akhaliq_mae' alt='visitor badge'></center>"
|
113 |
|
114 |
-
|
115 |
-
gr.Interface(inference, [gr.inputs.Image(type="pil")], gr.outputs.Image(type="file"),title=title,description=description,article=article,allow_flagging=
|
|
|
111 |
|
112 |
article = "<p style='text-align: center'><a href='https://arxiv.org/abs/2111.06377' target='_blank'>Masked Autoencoders Are Scalable Vision Learners</a>| <a href='https://github.com/facebookresearch/mae' target='_blank'>Github Repo</a></p> <center><img src='https://visitor-badge.glitch.me/badge?page_id=akhaliq_mae' alt='visitor badge'></center>"
|
113 |
|
114 |
+
examples=[['147738734-196fd92f-9260-48d5-ba7e-bf103d29364d.jpeg']]
|
115 |
+
gr.Interface(inference, [gr.inputs.Image(type="pil")], gr.outputs.Image(type="file"),title=title,description=description,article=article,allow_flagging="never",allow_screenshot=False,examples=examples).launch(enable_queue=True)
|