Ahsen Khaliq
commited on
Commit
·
3bf50cc
1
Parent(s):
f489d84
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,5 +1,4 @@
|
|
| 1 |
import os
|
| 2 |
-
os.system("git clone https://github.com/facebookresearch/omnivore.git")
|
| 3 |
import json
|
| 4 |
from typing import List
|
| 5 |
|
|
@@ -73,7 +72,7 @@ title = "Omnivore"
|
|
| 73 |
|
| 74 |
description = "Gradio demo for Revisiting Weakly Supervised Pre-Training of Visual Perception Models. To use it, simply upload your image, or click one of the examples to load them. Read more at the links below."
|
| 75 |
|
| 76 |
-
article = "<p style='text-align: center'><a href='https://arxiv.org/abs/2201.08371' target='_blank'>
|
| 77 |
|
| 78 |
|
| 79 |
gr.Interface(inference, inputs, outputs, title=title, description=description, article=article, examples=[['library.jpg']]).launch(enable_queue=True,cache_examples=True)
|
|
|
|
| 1 |
import os
|
|
|
|
| 2 |
import json
|
| 3 |
from typing import List
|
| 4 |
|
|
|
|
| 72 |
|
| 73 |
description = "Gradio demo for Revisiting Weakly Supervised Pre-Training of Visual Perception Models. To use it, simply upload your image, or click one of the examples to load them. Read more at the links below."
|
| 74 |
|
| 75 |
+
article = "<p style='text-align: center'><a href='https://arxiv.org/abs/2201.08371' target='_blank'>Omnivore: A Single Model for Many Visual Modalities</a> | <a href='https://github.com/facebookresearch/omnivore' target='_blank'>Github Repo</a></p>"
|
| 76 |
|
| 77 |
|
| 78 |
gr.Interface(inference, inputs, outputs, title=title, description=description, article=article, examples=[['library.jpg']]).launch(enable_queue=True,cache_examples=True)
|