Gabriel commited on
Commit
8c778be
·
verified ·
1 Parent(s): 438a99d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -3
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 llms.txt")
24
 
25
  with gr.Column():
26
  output = gr.Markdown()
27
 
28
- load_button.click(load_gradio_docs, outputs=output)
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)