Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -88,22 +88,10 @@ def set_example_url(example: list) -> dict:
|
|
| 88 |
|
| 89 |
title = """<h1 id="title">Object Detection App with DETR and YOLOS</h1>"""
|
| 90 |
|
| 91 |
-
description = """
|
| 92 |
-
Links to HuggingFace Models:
|
| 93 |
-
|
| 94 |
-
- [facebook/detr-resnet-50](https://huggingface.co/facebook/detr-resnet-50)
|
| 95 |
-
- [facebook/detr-resnet-101](https://huggingface.co/facebook/detr-resnet-101)
|
| 96 |
-
- [hustvl/yolos-small](https://huggingface.co/hustvl/yolos-small)
|
| 97 |
-
- [hustvl/yolos-tiny](https://huggingface.co/hustvl/yolos-tiny)
|
| 98 |
-
|
| 99 |
-
"""
|
| 100 |
|
| 101 |
models = ["facebook/detr-resnet-50","facebook/detr-resnet-101",'hustvl/yolos-small','hustvl/yolos-tiny']
|
| 102 |
urls = ["https://c8.alamy.com/comp/J2AB4K/the-new-york-stock-exchange-on-the-wall-street-in-new-york-J2AB4K.jpg"]
|
| 103 |
|
| 104 |
-
twitter_link = """
|
| 105 |
-
[](https://twitter.com/nickmuchi)
|
| 106 |
-
"""
|
| 107 |
|
| 108 |
css = '''
|
| 109 |
h1#title {
|
|
|
|
| 88 |
|
| 89 |
title = """<h1 id="title">Object Detection App with DETR and YOLOS</h1>"""
|
| 90 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 91 |
|
| 92 |
models = ["facebook/detr-resnet-50","facebook/detr-resnet-101",'hustvl/yolos-small','hustvl/yolos-tiny']
|
| 93 |
urls = ["https://c8.alamy.com/comp/J2AB4K/the-new-york-stock-exchange-on-the-wall-street-in-new-york-J2AB4K.jpg"]
|
| 94 |
|
|
|
|
|
|
|
|
|
|
| 95 |
|
| 96 |
css = '''
|
| 97 |
h1#title {
|