Download app.py from Umer4/PBC_MCP_2: direct link, hf CLI and curl.
- Browser
- Download file 288 Bytes
-
https://huggingface.co/spaces/Umer4/PBC_MCP_2/resolve/main/app.py
- Command line
-
hf download hf://spaces/Umer4/PBC_MCP_2/app.py
-
curl -L -o app.py https://huggingface.co/spaces/Umer4/PBC_MCP_2/resolve/main/app.py
288 Bytes
| import os | |
| import gradio as gr | |
| gr.load_openapi( | |
| openapi_spec="https://chimerical-palmier-57419d.netlify.app/pbc_swagger.json", | |
| base_url="https://app.pbccompanies.com/", | |
| paths=None, | |
| methods=['GET'], | |
| auth_token=os.getenv("OPENAPI_AUTH_TOKEN") | |
| ).launch(mcp_server=True) | |