Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -143,6 +143,6 @@ with gr.Blocks() as demo:
|
|
143 |
query = gr.Textbox(label="Enter your query")
|
144 |
query_button = gr.Button("Search")
|
145 |
query_output = gr.Textbox()
|
146 |
-
query_button.click(fn=
|
147 |
|
148 |
demo.launch()
|
|
|
143 |
query = gr.Textbox(label="Enter your query")
|
144 |
query_button = gr.Button("Search")
|
145 |
query_output = gr.Textbox()
|
146 |
+
query_button.click(fn=process_and_query, inputs=(state, query), outputs=query_output)
|
147 |
|
148 |
demo.launch()
|