ryaalbr commited on
Commit
3ac7bc4
1 Parent(s): bd5e742

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -78,6 +78,7 @@ with gr.Blocks() as demo:
78
  label="Generated images", show_label=False, elem_id="gallery"
79
  ).style(grid=[3,3,5], height="auto")
80
 
81
- search_btn.click(search, text, gallery, postprocess=False)
 
82
 
83
  demo.launch()
 
78
  label="Generated images", show_label=False, elem_id="gallery"
79
  ).style(grid=[3,3,5], height="auto")
80
 
81
+ search_btn.click(search, text, gallery, api_name="images", postprocess=False)
82
+
83
 
84
  demo.launch()