Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -20,13 +20,12 @@ with gr.Blocks() as demo:
|
|
20 |
gr.HTML("<center><h1>IIIF Docs</h1></center>")
|
21 |
with gr.Row():
|
22 |
with gr.Column():
|
23 |
-
load_button = gr.Button("Load IIIF Docs
|
24 |
|
25 |
with gr.Column():
|
26 |
output = gr.Markdown()
|
27 |
|
28 |
-
load_button.click(
|
29 |
-
search_button.click(search_gradio_docs, inputs=query, outputs=output)
|
30 |
|
31 |
if __name__ == "__main__":
|
32 |
demo.launch(mcp_server=True, strict_cors=False)
|
|
|
20 |
gr.HTML("<center><h1>IIIF Docs</h1></center>")
|
21 |
with gr.Row():
|
22 |
with gr.Column():
|
23 |
+
load_button = gr.Button("Load IIIF Docs")
|
24 |
|
25 |
with gr.Column():
|
26 |
output = gr.Markdown()
|
27 |
|
28 |
+
load_button.click(load_iiif_docs, outputs=output)
|
|
|
29 |
|
30 |
if __name__ == "__main__":
|
31 |
demo.launch(mcp_server=True, strict_cors=False)
|