Staticaliza commited on
Commit
393c4eb
·
verified ·
1 Parent(s): 45bfc52

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -145,10 +145,10 @@ with gr.Blocks(css=css) as main:
145
  maintain = gr.Button("☁️")
146
 
147
  with gr.Column():
148
- images = gr.Gallery(columns=1, label="Image")
149
- nsfw_classifier = gr.Label()
150
 
151
- submit.click(generate, inputs=[input, filter_input, negative_input, model, height, width, steps, guidance, number, seed], outputs=[images, nsfw_classifier], queue=False)
152
  maintain.click(cloud, inputs=[], outputs=[], queue=False)
153
 
154
  main.launch(show_api=True)
 
145
  maintain = gr.Button("☁️")
146
 
147
  with gr.Column():
148
+ output = gr.Gallery(columns=1, label="Image")
149
+ output_2 = gr.Label()
150
 
151
+ submit.click(generate, inputs=[input, filter_input, negative_input, model, height, width, steps, guidance, number, seed], outputs=[output, output_2], queue=False)
152
  maintain.click(cloud, inputs=[], outputs=[], queue=False)
153
 
154
  main.launch(show_api=True)