Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -80,8 +80,8 @@ with gr.Blocks() as demo:
|
|
| 80 |
|
| 81 |
temp = gr.State()
|
| 82 |
|
| 83 |
-
|
| 84 |
-
search_btn.click(search, text, temp, api_name="list")
|
| 85 |
|
| 86 |
|
| 87 |
demo.launch()
|
|
|
|
| 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 |
|
| 87 |
demo.launch()
|