iopaint-lama / app.py
Duangang's picture
Update app.py
6bf5fb1 verified
raw
history blame
195 Bytes
import subprocess
if __name__ == "__main__":
cmd = "iopaint start --model ldm --host 0.0.0.0 --port 7860 --device cuda "
# start subprocess using cmd
subprocess.run(cmd, shell=True)