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