Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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()
|