tori29umai commited on
Commit
fab4c46
1 Parent(s): 2419111

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -80,11 +80,11 @@ class Img2Img:
80
  if self.tagger_model is None:
81
  self.tagger_model = modelLoad(tagger_dir)
82
  tags = analysis(input_image_path, tagger_dir, self.tagger_model)
83
- tags_list = remove_color(tags)
84
  execute_tags = ["realistic", "nose", "asian"]
85
- tags_list = execute_prompt(execute_tags, prompt)
86
- tags_list = remove_duplicates(prompt)
87
- return tags_list
88
 
89
 
90
  def layout(self):
 
80
  if self.tagger_model is None:
81
  self.tagger_model = modelLoad(tagger_dir)
82
  tags = analysis(input_image_path, tagger_dir, self.tagger_model)
83
+ prompt = remove_color(tags)
84
  execute_tags = ["realistic", "nose", "asian"]
85
+ prompt = execute_prompt(execute_tags, prompt)
86
+ prompt = remove_duplicates(prompt)
87
+ return prompt
88
 
89
 
90
  def layout(self):