Christian commited on
Commit
ad70245
·
1 Parent(s): 16d520a
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -46,4 +46,4 @@ if not os.path.exists(controlnet_dir):
46
  port = os.getenv("PORT", "7860")
47
 
48
  # Aggiungi il parametro --skip-torch-cuda-test per forzare l'uso della CPU
49
- subprocess.run(["python3", "launch.py", "--skip-torch-cuda-test", "--port", port])
 
46
  port = os.getenv("PORT", "7860")
47
 
48
  # Aggiungi il parametro --skip-torch-cuda-test per forzare l'uso della CPU
49
+ subprocess.run(["python3", "launch.py", "--skip-torch-cuda-test", "--port", port, "--api"])