Spaces:
Build error

File size: 202 Bytes
b064604
 
 
6363427
b064604
 
1
2
3
4
5
6
7
import subprocess

if __name__ == "__main__":
    cmd = "iopaint start --model lama --model-dir=~/.cache --host 0.0.0.0 --port 7860"
    # start subprocess using cmd
    subprocess.run(cmd, shell=True)