ryaalbr commited on
Commit
cc20aca
1 Parent(s): 1c96f8a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -6
app.py CHANGED
@@ -74,13 +74,9 @@ with gr.Blocks() as demo:
74
  )
75
  search_btn = gr.Button("Search for images").style(full_width=False)
76
 
77
- gallery = gr.Gallery(
78
- label="Generated images", show_label=False, elem_id="gallery"
79
- ).style(grid=[3,3,5], height="auto")
80
 
81
- temp = gr.State()
82
-
83
- search_btn.click(search, text, gallery, api_name="images", postprocess=False)
84
  #search_btn.click(search, text, temp, api_name="list")
85
 
86
 
 
74
  )
75
  search_btn = gr.Button("Search for images").style(full_width=False)
76
 
77
+ gallery = gr.Gallery(label="Generated images", show_label=False).style(grid=[3,3,5])
 
 
78
 
79
+ search_btn.click(search, text, gallery, api_name="images")
 
 
80
  #search_btn.click(search, text, temp, api_name="list")
81
 
82