Spaces:
Runtime error
Runtime error
Ahsen Khaliq
commited on
Commit
·
af37abf
1
Parent(s):
da81006
Update app.py
Browse files
app.py
CHANGED
@@ -1,8 +1,6 @@
|
|
1 |
import gradio as gr
|
2 |
import os
|
3 |
|
4 |
-
os.system("wget https://github.com/DuncanZauss/Keypoint_Communities/blob/main/docs/soccer.jpeg")
|
5 |
-
|
6 |
def inference(image):
|
7 |
os.system("python -m openpifpaf.predict "+image.name+" --checkpoint=shufflenetv2k30-wholebody --line-width=2 -o out.jpg")
|
8 |
return "out.jpg"
|
|
|
1 |
import gradio as gr
|
2 |
import os
|
3 |
|
|
|
|
|
4 |
def inference(image):
|
5 |
os.system("python -m openpifpaf.predict "+image.name+" --checkpoint=shufflenetv2k30-wholebody --line-width=2 -o out.jpg")
|
6 |
return "out.jpg"
|