Spaces:
Running
Running
Ahsen Khaliq
commited on
Commit
·
dea0ca1
1
Parent(s):
3e80cbf
Update app.py
Browse files
app.py
CHANGED
@@ -1,4 +1,5 @@
|
|
1 |
import os
|
|
|
2 |
os.system("wget https://public-vigen-video.oss-cn-shanghai.aliyuncs.com/robin/models/RetinaFace-R50.pth -P ./weights/")
|
3 |
os.system("wget https://public-vigen-video.oss-cn-shanghai.aliyuncs.com/robin/models/GPEN-BFR-512.pth -P ./weights/")
|
4 |
os.system("wget https://public-vigen-video.oss-cn-shanghai.aliyuncs.com/robin/models/ParseNet-latest.pth -P ./weights/")
|
@@ -133,6 +134,7 @@ gr.Interface(
|
|
133 |
description=description,
|
134 |
article=article,
|
135 |
examples=[
|
136 |
-
['sample.
|
137 |
],
|
138 |
-
|
|
|
|
1 |
import os
|
2 |
+
os.system("pip install gradio==2.5.3")
|
3 |
os.system("wget https://public-vigen-video.oss-cn-shanghai.aliyuncs.com/robin/models/RetinaFace-R50.pth -P ./weights/")
|
4 |
os.system("wget https://public-vigen-video.oss-cn-shanghai.aliyuncs.com/robin/models/GPEN-BFR-512.pth -P ./weights/")
|
5 |
os.system("wget https://public-vigen-video.oss-cn-shanghai.aliyuncs.com/robin/models/ParseNet-latest.pth -P ./weights/")
|
|
|
134 |
description=description,
|
135 |
article=article,
|
136 |
examples=[
|
137 |
+
['sample.png']
|
138 |
],
|
139 |
+
enable_queue=True
|
140 |
+
).launch()
|