Nymbo commited on
Commit
1e55af1
·
verified ·
1 Parent(s): c2cd73e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -5
app.py CHANGED
@@ -569,7 +569,7 @@ fetch_interface = gr.Interface(
569
  outputs=gr.Markdown(label="Extracted Summary"),
570
  title="Fetch Webpage",
571
  description=(
572
- "<div style=\"text-align:center\">Extract title, key metadata, readable text, and links. No noisy HTML.</div>"
573
  ),
574
  api_description=(
575
  "Fetch a web page and return a compact Markdown summary with title, key "
@@ -595,7 +595,7 @@ concise_interface = gr.Interface(
595
  outputs=gr.Textbox(label="Results (JSONL)", interactive=False),
596
  title="DuckDuckGo Search",
597
  description=(
598
- "<div style=\"text-align:center\">Emits JSONL with short keys (t,u[,s]). Defaults avoid snippets and duplicate domains.</div>"
599
  ),
600
  api_description=(
601
  "Run a DuckDuckGo search and return newline-delimited JSON with short keys: "
@@ -616,7 +616,7 @@ code_interface = gr.Interface(
616
  outputs=gr.Textbox(label="Output"),
617
  title="Python Code Executor",
618
  description=(
619
- "<div style=\"text-align:center\">Execute Python code and see the output. This app is also an MCP server for LLMs.</div>"
620
  ),
621
  api_description=(
622
  "Execute arbitrary Python code and return captured stdout or an error message.\n\n"
@@ -660,8 +660,7 @@ kokoro_interface = gr.Interface(
660
  outputs=gr.Audio(label="Audio", type="numpy"),
661
  title="Kokoro TTS",
662
  description=(
663
- "<div style=\"text-align:center\">Synthesize English speech with Kokoro-82M. Requires the 'kokoro' package."
664
- " Exposed as an MCP tool with clear type hints and docstrings per the latest HF/Gradio MCP guidance.</div>"
665
  ),
666
  api_description=(
667
  "Synthesize speech from text using Kokoro-82M. Returns (sample_rate, waveform) suitable for playback."
 
569
  outputs=gr.Markdown(label="Extracted Summary"),
570
  title="Fetch Webpage",
571
  description=(
572
+ "<div style=\"text-align:center\">Extract title, key metadata, readable text, and links from webpages. No noisy HTML.</div>"
573
  ),
574
  api_description=(
575
  "Fetch a web page and return a compact Markdown summary with title, key "
 
595
  outputs=gr.Textbox(label="Results (JSONL)", interactive=False),
596
  title="DuckDuckGo Search",
597
  description=(
598
+ "<div style=\"text-align:center\">Very concise web search to avoid unnecessary context. Emits JSONL with short keys (t,u[,s]). Defaults avoid snippets and duplicate domains.</div>"
599
  ),
600
  api_description=(
601
  "Run a DuckDuckGo search and return newline-delimited JSON with short keys: "
 
616
  outputs=gr.Textbox(label="Output"),
617
  title="Python Code Executor",
618
  description=(
619
+ "<div style=\"text-align:center\">Execute Python code and see the output.</div>"
620
  ),
621
  api_description=(
622
  "Execute arbitrary Python code and return captured stdout or an error message.\n\n"
 
660
  outputs=gr.Audio(label="Audio", type="numpy"),
661
  title="Kokoro TTS",
662
  description=(
663
+ "<div style=\"text-align:center\">Generate English speech with Kokoro-82M. 30 Second max output. Runs on CPU.</div>"
 
664
  ),
665
  api_description=(
666
  "Synthesize speech from text using Kokoro-82M. Returns (sample_rate, waveform) suitable for playback."