Spaces:
Running
on
Zero
Running
on
Zero
tori29umai
commited on
Commit
•
3f48312
1
Parent(s):
2bd18a2
app.py
Browse files
app.py
CHANGED
@@ -46,6 +46,12 @@ class Img2Img:
|
|
46 |
os.makedirs(self.tagger_dir, exist_ok=True)
|
47 |
os.makedirs(self.lora_dir, exist_ok=True)
|
48 |
|
|
|
|
|
|
|
|
|
|
|
|
|
49 |
def layout(self):
|
50 |
css = """
|
51 |
#intro{
|
|
|
46 |
os.makedirs(self.tagger_dir, exist_ok=True)
|
47 |
os.makedirs(self.lora_dir, exist_ok=True)
|
48 |
|
49 |
+
def setup_models(self):
|
50 |
+
load_cn_model(self.cn_dir)
|
51 |
+
load_cn_config(self.cn_dir)
|
52 |
+
load_tagger_model(self.tagger_dir)
|
53 |
+
load_lora_model(self.lora_dir)
|
54 |
+
|
55 |
def layout(self):
|
56 |
css = """
|
57 |
#intro{
|