Spaces:
Runtime error
Runtime error
ai-forever
commited on
Commit
β’
3006d88
1
Parent(s):
c1ce68c
Update app.py
Browse files
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 |
|