Spaces:
Sleeping
Sleeping
sergiopaniego
commited on
Commit
•
56d8a53
1
Parent(s):
e2f5aeb
Updated app
Browse files
app.py
CHANGED
@@ -111,7 +111,6 @@ def detect(image):
|
|
111 |
return output_pil_img, output_pil_img_attn
|
112 |
|
113 |
with gr.Blocks() as demo:
|
114 |
-
'''
|
115 |
gr.Markdown("# Object detection with DETR")
|
116 |
gr.Markdown(
|
117 |
"""
|
@@ -119,7 +118,6 @@ with gr.Blocks() as demo:
|
|
119 |
You can load an image and see the predictions for the objects detected along with the attention weights.
|
120 |
"""
|
121 |
)
|
122 |
-
'''
|
123 |
|
124 |
gr.Interface(
|
125 |
fn=detect,
|
|
|
111 |
return output_pil_img, output_pil_img_attn
|
112 |
|
113 |
with gr.Blocks() as demo:
|
|
|
114 |
gr.Markdown("# Object detection with DETR")
|
115 |
gr.Markdown(
|
116 |
"""
|
|
|
118 |
You can load an image and see the predictions for the objects detected along with the attention weights.
|
119 |
"""
|
120 |
)
|
|
|
121 |
|
122 |
gr.Interface(
|
123 |
fn=detect,
|