iopaint-lama / app.py
Sanster's picture
update
3b90a27
raw
history blame
181 Bytes
import subprocess
if __name__ == "__main__":
cmd = "iopaint start --model lama --host 0.0.0.0 --port 7860"
# start subprocess using cmd
subprocess.run(cmd, shell=True)