Spaces:
Running
on
Zero
Running
on
Zero
tori29umai
commited on
Commit
•
776de3e
1
Parent(s):
2098e9c
app.py
Browse files
app.py
CHANGED
@@ -86,8 +86,8 @@ class Img2Img:
|
|
86 |
|
87 |
def process_prompt_analysis(self, input_image_path):
|
88 |
if self.tagger_model is None:
|
89 |
-
self.tagger_model = modelLoad(
|
90 |
-
tags = analysis(input_image_path,
|
91 |
tags_list = tags
|
92 |
if self.post_filter:
|
93 |
tags_list = remove_color(tags)
|
|
|
86 |
|
87 |
def process_prompt_analysis(self, input_image_path):
|
88 |
if self.tagger_model is None:
|
89 |
+
self.tagger_model = modelLoad(tagger_dir)
|
90 |
+
tags = analysis(input_image_path, tagger_dir, self.tagger_model)
|
91 |
tags_list = tags
|
92 |
if self.post_filter:
|
93 |
tags_list = remove_color(tags)
|