iopaint-lama / app.py
momoasd123's picture
Update app.py
ef4df6c verified
raw
history blame
168 Bytes
import subprocess
if __name__ == "__main__":
cmd = "iopaint start --host 0.0.0.0 --port 7860"
# start subprocess using cmd
subprocess.run(cmd, shell=True)