Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -9,6 +9,11 @@ import time
|
|
9 |
import gradio as gr
|
10 |
import sys
|
11 |
|
|
|
|
|
|
|
|
|
|
|
12 |
def sh(cmd): subprocess.check_call(cmd, shell=True)
|
13 |
|
14 |
# only do this once per VM restart
|
|
|
9 |
import gradio as gr
|
10 |
import sys
|
11 |
|
12 |
+
# Set environment variables
|
13 |
+
os.environ["PIXEL3DMM_CODE_BASE"] = "."
|
14 |
+
os.environ["PIXEL3DMM_PREPROCESSED_DATA"] = "./proprocess_results"
|
15 |
+
os.environ["PIXEL3DMM_TRACKING_OUTPUT"] = "./tracking_results"
|
16 |
+
|
17 |
def sh(cmd): subprocess.check_call(cmd, shell=True)
|
18 |
|
19 |
# only do this once per VM restart
|