Update app.py
Browse files
app.py
CHANGED
@@ -30,9 +30,13 @@ with gr.Blocks() as myface:
|
|
30 |
full_width=False,
|
31 |
)
|
32 |
|
|
|
|
|
|
|
|
|
33 |
|
34 |
|
35 |
-
btn.click(send_it1, inputs=[text], outputs=
|
36 |
|
37 |
if __name__ == "__main__":
|
38 |
myface.launch()
|
|
|
30 |
full_width=False,
|
31 |
)
|
32 |
|
33 |
+
gallery = gr.Gallery(
|
34 |
+
label="Generated images", show_label=False, elem_id="gallery"
|
35 |
+
).style(grid=[2], height="auto")
|
36 |
+
|
37 |
|
38 |
|
39 |
+
btn.click(send_it1, inputs=[text], outputs=[gallery], postprocess=False, api_name="text")
|
40 |
|
41 |
if __name__ == "__main__":
|
42 |
myface.launch()
|