Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
Sanster
/
iopaint-lama
like
105
Running
App
Files
Files
Community
9
Fetching metadata from the HF Docker repository...
refs/pr/6
iopaint-lama
/
app.py
rushkid5
Update app.py
f20f1af
verified
5 months ago
raw
Copy download link
history
blame
Safe
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
)