Sanster commited on
Commit
c4d0a56
1 Parent(s): 3bf7e69
Files changed (3) hide show
  1. README.md +6 -4
  2. app.py +6 -0
  3. requirements.txt +1 -0
README.md CHANGED
@@ -1,9 +1,11 @@
1
  ---
2
- title: Iopaint Migan
3
- emoji: 🚀
4
  colorFrom: indigo
5
- colorTo: red
6
- sdk: static
 
 
7
  pinned: false
8
  license: apache-2.0
9
  ---
 
1
  ---
2
+ title: IOPaint-MIGAN
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 migan --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