Update app.py
Browse files
app.py
CHANGED
@@ -173,6 +173,6 @@ with gr.Blocks(css=css, theme="YTheme/KidsShool") as dalle:
|
|
173 |
with gr.Row():
|
174 |
image_output = gr.Image(type="pil", label="Изображение", elem_id="gallery")
|
175 |
|
176 |
-
text_button.click(query, inputs=[text_prompt,
|
177 |
|
178 |
dalle.launch(show_api=False, share=False)
|
|
|
173 |
with gr.Row():
|
174 |
image_output = gr.Image(type="pil", label="Изображение", elem_id="gallery")
|
175 |
|
176 |
+
text_button.click(query, inputs=[text_prompt, negative_prompt, gpt], outputs=image_output)
|
177 |
|
178 |
dalle.launch(show_api=False, share=False)
|