Spaces:
Running
on
Zero
Running
on
Zero
tori29umai
commited on
Commit
•
fab4c46
1
Parent(s):
2419111
Update app.py
Browse files
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 |
-
|
84 |
execute_tags = ["realistic", "nose", "asian"]
|
85 |
-
|
86 |
-
|
87 |
-
return
|
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):
|