Spaces:
Running
Running
thr3a
commited on
Commit
•
aa07436
1
Parent(s):
7caee31
fix:
Browse files
app.py
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
import subprocess
|
2 |
|
3 |
if __name__ == "__main__":
|
4 |
-
cmd = "iopaint start --model lama --host 0.0.0.0 --port 7860 --enable-remove-bg --enable-anime-seg"
|
5 |
# start subprocess using cmd
|
6 |
subprocess.run(cmd, shell=True)
|
|
|
1 |
import subprocess
|
2 |
|
3 |
if __name__ == "__main__":
|
4 |
+
cmd = "iopaint start --model lama --host 0.0.0.0 --port 7860 --device=cpu --enable-remove-bg --enable-anime-seg"
|
5 |
# start subprocess using cmd
|
6 |
subprocess.run(cmd, shell=True)
|