Spaces:
Build error
Build error
Ahsen Khaliq
commited on
Commit
·
1b0a3c1
1
Parent(s):
cf84cb1
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,5 +1,4 @@
|
|
| 1 |
import os
|
| 2 |
-
os.system("pip install gradio==2.4.6")
|
| 3 |
import gradio as gr
|
| 4 |
os.system("pip install 'git+https://github.com/facebookresearch/detectron2.git'")
|
| 5 |
os.system("git clone https://github.com/ShuhongChen/bizarre-pose-estimator.git")
|
|
@@ -25,7 +24,7 @@ description = "Gradio demo for Transfer Learning for Pose Estimation of Illustra
|
|
| 25 |
|
| 26 |
article = "<p style='text-align: center'><a href='https://arxiv.org/abs/2108.01819' target='_blank'>Transfer Learning for Pose Estimation of Illustrated Characters</a> | <a href='https://github.com/ShuhongChen/bizarre-pose-estimator' target='_blank'>Github Repo</a></p>"
|
| 27 |
|
| 28 |
-
examples=[["totoro-bus-stop.
|
| 29 |
gr.Interface(
|
| 30 |
inference,
|
| 31 |
gr.inputs.Image(type="filepath", label="Input"),
|
|
@@ -34,7 +33,6 @@ gr.Interface(
|
|
| 34 |
description=description,
|
| 35 |
article=article,
|
| 36 |
allow_flagging="never",
|
| 37 |
-
examples=examples
|
| 38 |
-
enable_queue=True
|
| 39 |
-
).launch()
|
| 40 |
|
|
|
|
| 1 |
import os
|
|
|
|
| 2 |
import gradio as gr
|
| 3 |
os.system("pip install 'git+https://github.com/facebookresearch/detectron2.git'")
|
| 4 |
os.system("git clone https://github.com/ShuhongChen/bizarre-pose-estimator.git")
|
|
|
|
| 24 |
|
| 25 |
article = "<p style='text-align: center'><a href='https://arxiv.org/abs/2108.01819' target='_blank'>Transfer Learning for Pose Estimation of Illustrated Characters</a> | <a href='https://github.com/ShuhongChen/bizarre-pose-estimator' target='_blank'>Github Repo</a></p>"
|
| 26 |
|
| 27 |
+
examples=[["totoro-bus-stop.png"]]
|
| 28 |
gr.Interface(
|
| 29 |
inference,
|
| 30 |
gr.inputs.Image(type="filepath", label="Input"),
|
|
|
|
| 33 |
description=description,
|
| 34 |
article=article,
|
| 35 |
allow_flagging="never",
|
| 36 |
+
examples=examples
|
| 37 |
+
).launch(enable_queue=True)
|
|
|
|
| 38 |
|