Spaces:
Runtime error
Runtime error
jiawi-ren
commited on
Commit
•
7b6e4c3
1
Parent(s):
ea4b557
init
Browse files- app.py +2 -2
- requirements.txt +1 -3
app.py
CHANGED
@@ -3,8 +3,8 @@ import os
|
|
3 |
from PIL import Image
|
4 |
import subprocess
|
5 |
|
6 |
-
|
7 |
-
|
8 |
|
9 |
# check if there is a picture uploaded or selected
|
10 |
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 |
-
../simple-knn
|
43 |
-
../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
|
|
|
|