Spaces:
Build error
Build error
Commit
•
d5fe608
1
Parent(s):
9e083aa
Added Cython requirement
Browse files- app.py +5 -0
- requirements.txt +1 -1
app.py
CHANGED
@@ -1,3 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
1 |
import gradio as gr
|
2 |
import numpy as np
|
3 |
import insightface
|
|
|
1 |
+
import os
|
2 |
+
|
3 |
+
os.system('pip install insightface==0.5')
|
4 |
+
|
5 |
+
|
6 |
import gradio as gr
|
7 |
import numpy as np
|
8 |
import insightface
|
requirements.txt
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
Cython
|
2 |
-
insightface==0.5
|
3 |
onnx==1.10.2
|
4 |
onnxruntime==1.10.0
|
|
|
1 |
Cython
|
2 |
+
#insightface==0.5
|
3 |
onnx==1.10.2
|
4 |
onnxruntime==1.10.0
|