Spaces:
Running
Running
Update app.py
Browse files568 unmodified lines56957057157257357457519 unmodified lines59559659759859960060114 unmodified lines61661761861962062162237 unmodified lines660661662663664665666667568 unmodified linesoutputs=gr.Markdown(label="Extracted Summary"),title="Fetch Webpage",description=("<div style=\"text-align:center\">Extract title, key metadata, readable text, and links. No noisy HTML.</div>"),api_description=("Fetch a web page and return a compact Markdown summary with title, key "19 unmodified linesoutputs=gr.Textbox(label="Results (JSONL)", interactive=False),title="DuckDuckGo Search",description=("<div style=\"text-align:center\">Emits JSONL with short keys (t,u[,s]). Defaults avoid snippets and duplicate domains.</div>"),api_description=("Run a DuckDuckGo search and return newline-delimited JSON with short keys: "14 unmodified linesoutputs=gr.Textbox(label="Output"),title="Python Code Executor",description=("<div style=\"text-align:center\">Execute Python code and see the output. This app is also an MCP server for LLMs.</div>"),api_description=("Execute arbitrary Python code and return captured stdout or an error message.\n\n"37 unmodified linesoutputs=gr.Audio(label="Audio", type="numpy"),title="Kokoro TTS",description=("<div style=\"text-align:center\">Synthesize English speech with Kokoro-82M. Requires the 'kokoro' package."" Exposed as an MCP tool with clear type hints and docstrings per the latest HF/Gradio MCP guidance.</div>"),api_description=("Synthesize speech from text using Kokoro-82M. Returns (sample_rate, waveform) suitable for playback."568 unmodified lines56957057157257357457519 unmodified lines59559659759859960060114 unmodified lines61661761861962062162237 unmodified lines660661662663664665666568 unmodified linesoutputs=gr.Markdown(label="Extracted Summary"),title="Fetch Webpage",description=("<div style=\"text-align:center\">Extract title, key metadata, readable text, and links from webpages. No noisy HTML.</div>"),api_description=("Fetch a web page and return a compact Markdown summary with title, key "19 unmodified linesoutputs=gr.Textbox(label="Results (JSONL)", interactive=False),title="DuckDuckGo Search",description=("<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>"),api_description=("Run a DuckDuckGo search and return newline-delimited JSON with short keys: "14 unmodified linesoutputs=gr.Textbox(label="Output"),title="Python Code Executor",description=("<div style=\"text-align:center\">Execute Python code and see the output.</div>"),api_description=("Execute arbitrary Python code and return captured stdout or an error message.\n\n"37 unmodified linesoutputs=gr.Audio(label="Audio", type="numpy"),title="Kokoro TTS",description=("<div style=\"text-align:center\">Generate English speech with Kokoro-82M. 30 Second max output. Runs on CPU.</div>"),api_description=("Synthesize speech from text using Kokoro-82M. Returns (sample_rate, waveform) suitable for playback."
app.py+4-5