Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
import subprocess
|
2 |
|
3 |
if __name__ == "__main__":
|
4 |
-
cmd = "iopaint start --model Sanster/PowerPaint-V1-stable-diffusion-inpainting --
|
5 |
# start subprocess using cmd
|
6 |
subprocess.run(cmd, shell=True)
|
|
|
1 |
import subprocess
|
2 |
|
3 |
if __name__ == "__main__":
|
4 |
+
cmd = "iopaint start --model Sanster/PowerPaint-V1-stable-diffusion-inpainting --host 0.0.0.0 --port 7860"
|
5 |
# start subprocess using cmd
|
6 |
subprocess.run(cmd, shell=True)
|