Spaces:
Runtime error
Runtime error
Download app.py from flatio-community-unofficial/Flat-API-MCP: direct link, hf CLI and curl.
- Browser
- Download file 235 Bytes
-
https://huggingface.co/spaces/flatio-community-unofficial/Flat-API-MCP/resolve/main/app.py
- Command line
-
hf download hf://spaces/flatio-community-unofficial/Flat-API-MCP/app.py
-
curl -L -o app.py https://huggingface.co/spaces/flatio-community-unofficial/Flat-API-MCP/resolve/main/app.py
235 Bytes
| import gradio as gr | |
| demo = gr.load_openapi( | |
| openapi_spec="https://flat.io/developers/api/reference/openapi.json", | |
| base_url="https://api.flat.io/v2", | |
| paths=["/scores.*"], | |
| methods=["get"], | |
| ) | |
| demo.launch(mcp_server=True) |