ai-forever commited on
Commit
3006d88
β€’
1 Parent(s): c1ce68c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -230,8 +230,8 @@ Kandinsky 2.1 was trained on a large-scale image-text dataset LAION HighRes and
230
  ex = gr.Examples(examples=examples, fn=infer, inputs=[text], outputs=gallery, cache_examples=True)
231
  ex.dataset.headers = [""]
232
 
233
- text.submit(infer, inputs=[text], outputs=gallery)
234
- btn.click(infer, inputs=[text], outputs=gallery)
235
  gr.Markdown("""
236
 
237
 
 
230
  ex = gr.Examples(examples=examples, fn=infer, inputs=[text], outputs=gallery, cache_examples=True)
231
  ex.dataset.headers = [""]
232
 
233
+ text.submit(infer, inputs=[text, negative], outputs=gallery)
234
+ btn.click(infer, inputs=[text, negative], outputs=gallery)
235
  gr.Markdown("""
236
 
237