pet-mcp / app.py
abidlabs's picture
abidlabs HF Staff
Add app.py
47cb746 verified
raw
history blame contribute delete
256 Bytes
import gradio as gr
gr.load_openapi(
openapi_spec="https://petstore3.swagger.io/api/v3/openapi.json",
base_url="https://petstore3.swagger.io/api/v3/",
paths=[".*pet.*"],
methods=['GET', 'POST', 'PUT', 'DELETE'],
).launch(mcp_server=True)