victor HF Staff commited on
Commit
4e72c55
·
1 Parent(s): 36a4f5e

Add search button to Gradio interface for improved user interaction

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -237,6 +237,8 @@ with gr.Blocks(title="Web Search MCP Server") as demo:
237
  info="Optional: How many results to fetch (default: 4)",
238
  )
239
 
 
 
240
  output = gr.Textbox(
241
  label="Extracted Content",
242
  lines=25,
@@ -244,8 +246,6 @@ with gr.Blocks(title="Web Search MCP Server") as demo:
244
  info="The extracted article content will appear here",
245
  )
246
 
247
- search_button = gr.Button("Search", variant="primary")
248
-
249
  # Add examples
250
  gr.Examples(
251
  examples=[
 
237
  info="Optional: How many results to fetch (default: 4)",
238
  )
239
 
240
+ search_button = gr.Button("Search", variant="primary")
241
+
242
  output = gr.Textbox(
243
  label="Extracted Content",
244
  lines=25,
 
246
  info="The extracted article content will appear here",
247
  )
248
 
 
 
249
  # Add examples
250
  gr.Examples(
251
  examples=[