pepereeee commited on
Commit
dda0c31
1 Parent(s): 0352e1e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -1
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=gr.outputs.Image(type="auto", label="Generated Image"), postprocess=False, api_name="text")
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()