peterbonnesoeur commited on
Commit
566be42
·
1 Parent(s): b3c78e6

Minor modifications

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -4,7 +4,7 @@ import gradio as gr
4
  import openpifpaf
5
  import numpy as np
6
 
7
- predictor_pose = openpifpaf.Predictor(checkpoint='shufflenetv2k30')
8
  predictor_whole_body = openpifpaf.Predictor(checkpoint='shufflenetv2k30-wholebody')
9
  predictor_vehicle = openpifpaf.Predictor(checkpoint='shufflenetv2k16-apollo-24')
10
 
@@ -29,7 +29,7 @@ def inference(img, ver):
29
 
30
 
31
  title = "Openpifpaf"
32
- description = "Gradio demo for openpifpaf. To use it, simply upload your image, or click one of the examples to load them. Read more at the links below. Please use a cropped portrait picture for best results similar to the examples below"
33
  article = "<p style='text-align: center'><a href='https://github.com/openpifpaf/openpifpaf' target='_blank'>Github Repo Openpifpaf</a> | <a href='https://github.com/peterbonnesoeur' target='_blank'>Github Repo peterbonnesoeur</a></p>"
34
 
35
  with open("article.html", "r", encoding='utf-8') as f:
 
4
  import openpifpaf
5
  import numpy as np
6
 
7
+ predictor_pose = openpifpaf.Predictor(checkpoint='shufflenetv2k16')
8
  predictor_whole_body = openpifpaf.Predictor(checkpoint='shufflenetv2k30-wholebody')
9
  predictor_vehicle = openpifpaf.Predictor(checkpoint='shufflenetv2k16-apollo-24')
10
 
 
29
 
30
 
31
  title = "Openpifpaf"
32
+ description = "Gradio demo for openpifpaf. To use it, simply upload your image, or click one of the examples to load them. Read more at the links below and don't hesitate to SMASH THAT LIKE BUTTON (wait, wrong platform)"
33
  article = "<p style='text-align: center'><a href='https://github.com/openpifpaf/openpifpaf' target='_blank'>Github Repo Openpifpaf</a> | <a href='https://github.com/peterbonnesoeur' target='_blank'>Github Repo peterbonnesoeur</a></p>"
34
 
35
  with open("article.html", "r", encoding='utf-8') as f: