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