Spaces:
Running
on
Zero
Running
on
Zero
tori29umai
commited on
Commit
•
14cb9f4
1
Parent(s):
4948a0e
app.py
Browse files
app.py
CHANGED
@@ -34,7 +34,6 @@ class Img2Img:
|
|
34 |
self.setup_paths()
|
35 |
self.setup_models()
|
36 |
self.demo = self.layout()
|
37 |
-
self.post_filter = True
|
38 |
self.input_image_path = None
|
39 |
|
40 |
|
@@ -86,7 +85,7 @@ class Img2Img:
|
|
86 |
|
87 |
prompt_analysis_button.click(
|
88 |
self.process_prompt_analysis,
|
89 |
-
inputs=[self.input_image_path, self.tagger_model, self.tagger_dir,
|
90 |
outputs=self.prompt
|
91 |
)
|
92 |
|
|
|
34 |
self.setup_paths()
|
35 |
self.setup_models()
|
36 |
self.demo = self.layout()
|
|
|
37 |
self.input_image_path = None
|
38 |
|
39 |
|
|
|
85 |
|
86 |
prompt_analysis_button.click(
|
87 |
self.process_prompt_analysis,
|
88 |
+
inputs=[self.input_image_path, self.tagger_model, self.tagger_dir, True],
|
89 |
outputs=self.prompt
|
90 |
)
|
91 |
|