Spaces:
Sleeping
Sleeping
Add app.py
Browse files
app.py
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
|
| 2 |
+
import gradio as gr
|
| 3 |
+
|
| 4 |
+
gr.load_openapi(
|
| 5 |
+
openapi_spec="https://petstore3.swagger.io/api/v3/openapi.json",
|
| 6 |
+
base_url="https://petstore3.swagger.io/api/v3/",
|
| 7 |
+
paths=None,
|
| 8 |
+
methods=['GET', 'POST', 'PUT', 'DELETE'],
|
| 9 |
+
).launch(mcp_server=True)
|