Spaces:
Runtime error
Runtime error
jiawi-ren
commited on
Commit
•
404c3b8
1
Parent(s):
d68e5df
init
Browse files- app.py +2 -0
- requirements.txt +1 -3
app.py
CHANGED
@@ -3,6 +3,8 @@ import os
|
|
3 |
from PIL import Image
|
4 |
import subprocess
|
5 |
|
|
|
|
|
6 |
|
7 |
# check if there is a picture uploaded or selected
|
8 |
def check_img_input(control_image):
|
|
|
3 |
from PIL import Image
|
4 |
import subprocess
|
5 |
|
6 |
+
os.system('pip install -e ./simple-knn')
|
7 |
+
os.system('pip install -e ./diff-gaussian-rasterization')
|
8 |
|
9 |
# check if there is a picture uploaded or selected
|
10 |
def check_img_input(control_image):
|
requirements.txt
CHANGED
@@ -38,6 +38,4 @@ gradio
|
|
38 |
|
39 |
|
40 |
-e git+https://github.com/NVlabs/nvdiffrast.git@main#egg=nvdiffrast
|
41 |
-
-e git+https://github.com/ashawkey/kiuikit.git@main#egg=kiui
|
42 |
-
-e simple-knn
|
43 |
-
-e diff-gaussian-rasterization
|
|
|
38 |
|
39 |
|
40 |
-e git+https://github.com/NVlabs/nvdiffrast.git@main#egg=nvdiffrast
|
41 |
+
-e git+https://github.com/ashawkey/kiuikit.git@main#egg=kiui
|
|
|
|