Yanderu commited on
Commit
3a84aea
·
1 Parent(s): 9583368

Upload 2 files

Browse files
Files changed (2) hide show
  1. README.md +2 -3
  2. install.py +13 -0
README.md CHANGED
@@ -1,3 +1,2 @@
1
- ---
2
- license: openrail
3
- ---
 
1
+ # sd-civitai-browser
2
+ An extension to help download models from CivitAi without leaving WebUI
 
install.py ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # installer script for some PyPI packages we need...
2
+
3
+ import launch
4
+ pkgs = [
5
+ {"fake_useragent": "fake-useragent"},
6
+ {"PIL": "PIL"},
7
+ {"requests": "requests"}
8
+ ]
9
+
10
+ for pkg in pkgs:
11
+ key, val = next(iter(pkg.items()))
12
+ if not launch.is_installed(key):
13
+ launch.run_pip(f'install {val}', "requirements for CivitAI Browser")