Spaces:
Running
Running
Baskar2005
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -27,6 +27,7 @@ class Text_to_image:
|
|
27 |
with gr.Column():
|
28 |
button=gr.Button("Generate Image",elem_classes="button")
|
29 |
button.click(self.text_to_image,prompt,output)
|
|
|
30 |
demo.launch(debug=True)
|
31 |
|
32 |
|
|
|
27 |
with gr.Column():
|
28 |
button=gr.Button("Generate Image",elem_classes="button")
|
29 |
button.click(self.text_to_image,prompt,output)
|
30 |
+
prompt.submit(self.text_to_image,prompt,output)
|
31 |
demo.launch(debug=True)
|
32 |
|
33 |
|