Jinl commited on
Commit
6bc8153
·
1 Parent(s): d360398

add NSFW checker and GPU mode

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -215,7 +215,6 @@ class GlobalText:
215
  generate_image[0],
216
  generate_image[1],
217
  generate_image[2],
218
- self.init_results_image_path()
219
  ]
220
 
221
 
@@ -424,7 +423,7 @@ def ui():
424
  generate_button.click(
425
  fn=global_text.generate,
426
  inputs=inputs,
427
- outputs=[recons_style,recons_content,generate_image,results_image_gallery]
428
  )
429
 
430
  ex = gr.Examples(
 
215
  generate_image[0],
216
  generate_image[1],
217
  generate_image[2],
 
218
  ]
219
 
220
 
 
423
  generate_button.click(
424
  fn=global_text.generate,
425
  inputs=inputs,
426
+ outputs=[recons_style,recons_content,generate_image]
427
  )
428
 
429
  ex = gr.Examples(