Spaces:
Running
Running
update
Browse files- README.md +7 -5
- app.py +6 -0
- requirements.txt +1 -0
README.md
CHANGED
@@ -1,9 +1,11 @@
|
|
1 |
---
|
2 |
-
title:
|
3 |
-
emoji:
|
4 |
-
colorFrom:
|
5 |
-
colorTo:
|
6 |
-
sdk:
|
|
|
|
|
7 |
pinned: false
|
8 |
license: apache-2.0
|
9 |
---
|
|
|
1 |
---
|
2 |
+
title: IOPaint-LaMA
|
3 |
+
emoji: ⚡
|
4 |
+
colorFrom: indigo
|
5 |
+
colorTo: purple
|
6 |
+
sdk: gradio
|
7 |
+
sdk_version: 3.9.1
|
8 |
+
app_file: app.py
|
9 |
pinned: false
|
10 |
license: apache-2.0
|
11 |
---
|
app.py
ADDED
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import subprocess
|
2 |
+
|
3 |
+
if __name__ == "__main__":
|
4 |
+
cmd = "iopaint start --model lama --host 0.0.0.0 --port 7860"
|
5 |
+
# start subprocess using cmd
|
6 |
+
subprocess.run(cmd, shell=True)
|
requirements.txt
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
IOPaint==1.0.0b10
|