Spaces:
Runtime error
Runtime error
enable Queue and decrease resolution
Browse files
app.py
CHANGED
@@ -37,7 +37,7 @@ def process(img_path):
|
|
37 |
subprocess.Popen("./scripts/test.sh", env={
|
38 |
**env,
|
39 |
"INPUT_IMAGE_PATH": f'./inputs/{img_name}.png',
|
40 |
-
"VOL_RES": "
|
41 |
cwd="PIFu").communicate()
|
42 |
|
43 |
print("inference")
|
@@ -85,4 +85,4 @@ iface = gr.Interface(
|
|
85 |
)
|
86 |
|
87 |
if __name__ == "__main__":
|
88 |
-
iface.launch(debug=True, enable_queue=
|
|
|
37 |
subprocess.Popen("./scripts/test.sh", env={
|
38 |
**env,
|
39 |
"INPUT_IMAGE_PATH": f'./inputs/{img_name}.png',
|
40 |
+
"VOL_RES": "128"},
|
41 |
cwd="PIFu").communicate()
|
42 |
|
43 |
print("inference")
|
|
|
85 |
)
|
86 |
|
87 |
if __name__ == "__main__":
|
88 |
+
iface.launch(debug=True, enable_queue=True)
|