tori29umai commited on
Commit
776de3e
1 Parent(s): 2098e9c
Files changed (1) hide show
  1. app.py +2 -2
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(self.tagger_dir)
90
- tags = analysis(input_image_path, self.tagger_dir, self.tagger_model)
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)