Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -86,7 +86,7 @@ def set_example_url(example: list) -> dict:
|
|
86 |
return gr.Textbox.update(value=example[0])
|
87 |
|
88 |
|
89 |
-
title = """<h1 id="title"
|
90 |
|
91 |
description = """
|
92 |
Links to HuggingFace Models:
|
@@ -140,7 +140,7 @@ with demo:
|
|
140 |
samples=[[path.as_posix()]
|
141 |
for path in sorted(pathlib.Path('images').rglob('*.JPG'))])
|
142 |
|
143 |
-
img_but = gr.Button('
|
144 |
|
145 |
|
146 |
url_but.click(detect_objects,inputs=[options,url_input,img_input,slider_input],outputs=img_output_from_url,queue=True)
|
|
|
86 |
return gr.Textbox.update(value=example[0])
|
87 |
|
88 |
|
89 |
+
title = """<h1 id="title">目标检测</h1>"""
|
90 |
|
91 |
description = """
|
92 |
Links to HuggingFace Models:
|
|
|
140 |
samples=[[path.as_posix()]
|
141 |
for path in sorted(pathlib.Path('images').rglob('*.JPG'))])
|
142 |
|
143 |
+
img_but = gr.Button('检测')
|
144 |
|
145 |
|
146 |
url_but.click(detect_objects,inputs=[options,url_input,img_input,slider_input],outputs=img_output_from_url,queue=True)
|