tori29umai commited on
Commit
14cb9f4
1 Parent(s): 4948a0e
Files changed (1) hide show
  1. app.py +1 -2
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, self.post_filter],
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