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/7
iopaint-lama
/
app.py
Duangang
Update app.py
6bf5fb1
verified
3 months ago
raw
Copy download link
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
)