feat: Enable MCP

#1
by multimodalart HF Staff - opened

Hello! This is an automated PR adding MCP compatibility to your AI App 🤖.

image.pngThis PR introduces two improvements:

  1. Adds docstrings to the functions in the app file that are directly connected to the Gradio UI, for the downstream LLM to use.
  2. Enables the Model-Compute-Platform by adding mcp_server=True to the .launch() call.

No other logic has been changed. Please review and merge if it looks good!Learn more about MCP compatibility in Spaces here: https://huggingface.co/changelog/add-compatible-spaces-to-your-mcp-tools

it's causing issues unfortunately, some users reported getting a 500 Internal Error issue, which I did as well when loading the Space page, had to disable it unfortunately

Cannot merge
This branch has merge conflicts in the following files:
  • app.py

Sign up or log in to comment