radames commited on
Commit
09cbbab
1 Parent(s): 6662d6e

enable Queue and decrease resolution

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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": "256"},
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=False)
 
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)