victor HF Staff commited on
Commit
b9167a4
·
1 Parent(s): f0981f5

Move MCP button into markdown section and increase size

Browse files
Files changed (1) hide show
  1. app.py +8 -12
app.py CHANGED
@@ -202,6 +202,14 @@ with gr.Blocks(title="Web Search MCP Server") as demo:
202
 
203
  This MCP server provides web search capabilities to LLMs. It can perform general web searches
204
  or specifically search for fresh news articles, extracting the main content from results.
 
 
 
 
 
 
 
 
205
 
206
  **Search Types:**
207
  - **General Search**: Diverse results from various sources (blogs, docs, articles, etc.)
@@ -212,18 +220,6 @@ with gr.Blocks(title="Web Search MCP Server") as demo:
212
  """
213
  )
214
 
215
- gr.HTML(
216
- """
217
- <div>
218
- <a href="#" onclick="window.location.href = window.location.pathname + '?view=api'; return false;">
219
- <img src="https://huggingface.co/datasets/huggingface/badges/resolve/main/use-with-mcp-lg-dark.svg"
220
- alt="Use with MCP"
221
- style="height: 20px; vertical-align: middle;">
222
- </a>
223
- </div>
224
- """
225
- )
226
-
227
  with gr.Row():
228
  with gr.Column(scale=3):
229
  query_input = gr.Textbox(
 
202
 
203
  This MCP server provides web search capabilities to LLMs. It can perform general web searches
204
  or specifically search for fresh news articles, extracting the main content from results.
205
+
206
+ <div style="margin: 24px 0;">
207
+ <a href="#" onclick="window.location.href = window.location.pathname + '?view=api'; return false;">
208
+ <img src="https://huggingface.co/datasets/huggingface/badges/resolve/main/use-with-mcp-lg-dark.svg"
209
+ alt="Use with MCP"
210
+ style="height: 36px;">
211
+ </a>
212
+ </div>
213
 
214
  **Search Types:**
215
  - **General Search**: Diverse results from various sources (blogs, docs, articles, etc.)
 
220
  """
221
  )
222
 
 
 
 
 
 
 
 
 
 
 
 
 
223
  with gr.Row():
224
  with gr.Column(scale=3):
225
  query_input = gr.Textbox(