Ahsen Khaliq commited on
Commit
da8cf49
1 Parent(s): 072d8dc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -4
app.py CHANGED
@@ -2,10 +2,7 @@ import gradio as gr
2
  import os
3
 
4
  def inference(image):
5
- os.system("""python -m openpifpaf.predict """+ image.name+""" \
6
- --checkpoint=shufflenetv2k16-apollo-24 -o out.jpg \
7
- --instance-threshold 0.05 --seed-threshold 0.05 \
8
- --line-width 4 --font-size 0""")
9
  return "out.jpg"
10
 
11
 
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"
7
 
8