Abubakar Abid's picture

Abubakar Abid

abidlabs

AI & ML interests

self-supervised learning, applications to medicine & biology, interpretation, reproducibility

Recent Activity

updated a Space about 18 hours ago
abidlabs/EasyGhibli
View all activity

Organizations

Hugging Face's profile picture Org for Gradio Tests's profile picture 🧨Diffusers's profile picture MIT-15.561-2022's profile picture Spaces-explorers's profile picture Gradio Client Demos's profile picture Gradio's profile picture Templates's profile picture CVPR Demo Track's profile picture AUBMC AIM's profile picture Test Demo's profile picture Stanford CS236g 2022's profile picture pytorch's profile picture HF Course Demos's profile picture Sorbonne Université's profile picture Gradio-Themes-Party's profile picture Univ-Pitts-ECE-1395's profile picture Yale CPSC 577's profile picture Gradio-Blocks-Party's profile picture HuggingFaceM4's profile picture Evaluate Metric's profile picture Workshop June 13 Classroom's profile picture Fatima Fellowship's profile picture Hugging Face University 2022's profile picture Hugging Face H4's profile picture Hugging Face OSS Metrics's profile picture Gradio Test Deploy's profile picture Gradio PR Deploys's profile picture IBM-NASA Prithvi Models Family's profile picture UniverseTBD's profile picture Hacktoberfest 2023's profile picture ICML2023's profile picture Gradio Discord Bots's profile picture Gradio Templates's profile picture Gradio Community's profile picture Social Post Explorers's profile picture Meta Llama's profile picture smolagents's profile picture Inference Endpoints Images's profile picture

Posts 17

view post
Post
3255
HOW TO ADD MCP SUPPORT TO ANY 🤗 SPACE

Gradio now supports MCP! If you want to convert an existing Space, like this one hexgrad/Kokoro-TTS, so that you can use it with Claude Desktop / Cursor / Cline / TinyAgents / or any LLM that supports MCP, here's all you need to do:

1. Duplicate the Space (in the Settings Tab)
2. Upgrade the Gradio sdk_version to 5.28 (in the README.md)
3. Set mcp_server=True in launch()
4. (Optionally) add docstrings to the function so that the LLM knows how to use it, like this:

def generate(text, speed=1):
    """
    Convert text to speech audio.

    Parameters:
        text (str): The input text to be converted to speech.
        speed (float, optional): Playback speed of the generated speech.


That's it! Now your LLM will be able to talk to you 🤯

Articles 12

Article
68

How to Build an MCP Server with Gradio