Spaces:
Running
Running
peterbonnesoeur
commited on
Commit
·
566be42
1
Parent(s):
b3c78e6
Minor modifications
Browse files
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='
|
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
|
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:
|