Spaces:
Runtime error
Runtime error
Ahsen Khaliq
commited on
Commit
•
b03ebab
1
Parent(s):
099b093
Update app.py
Browse files
app.py
CHANGED
@@ -7,10 +7,10 @@ def inference(image):
|
|
7 |
--instance-threshold 0.05 --seed-threshold 0.05 \
|
8 |
--line-width 4 --font-size 0""")
|
9 |
return "out.jpg"
|
10 |
-
title = "
|
11 |
-
description = "Gradio demo for
|
12 |
-
article = "<p style='text-align: center'><a href='https://
|
13 |
-
examples=[['
|
14 |
gr.Interface(
|
15 |
inference,
|
16 |
gr.inputs.Image(type="file", label="Input"),
|
|
|
7 |
--instance-threshold 0.05 --seed-threshold 0.05 \
|
8 |
--line-width 4 --font-size 0""")
|
9 |
return "out.jpg"
|
10 |
+
title = "OpenPifPaf"
|
11 |
+
description = "Gradio demo for OpenPifPaf: Composite Fields for Semantic Keypoint Detection and Spatio-Temporal Association. To use it, simply upload your image, or click one of the examples to load them. Read more at the links below."
|
12 |
+
article = "<p style='text-align: center'><a href='https://openpifpaf.github.io/intro.html' target='_blank'>OpenPifPaf: Composite Fields for Semantic Keypoint Detection and Spatio-Temporal Association</a> | <a href='https://github.com/openpifpaf/openpifpaf' target='_blank'>Github Repo</a></p>"
|
13 |
+
examples=[['cars.png']]
|
14 |
gr.Interface(
|
15 |
inference,
|
16 |
gr.inputs.Image(type="file", label="Input"),
|