Sanster commited on
Commit
3b90a27
1 Parent(s): 638256a
Files changed (3) hide show
  1. README.md +7 -5
  2. app.py +6 -0
  3. requirements.txt +1 -0
README.md CHANGED
@@ -1,9 +1,11 @@
1
  ---
2
- title: Iopaint Lama
3
- emoji: 📈
4
- colorFrom: green
5
- colorTo: blue
6
- sdk: static
 
 
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