Spaces:
Runtime error
Runtime error
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://raw.githubusercontent.com/utsav-pilot/openapi-spec-swagger/refs/heads/main/banking.json",
|
| 6 |
+
base_url="https://api-dev.mtf.co.nz/v1/banking",
|
| 7 |
+
paths=None,
|
| 8 |
+
methods=['GET', 'POST', 'PUT', 'DELETE'],
|
| 9 |
+
).launch(mcp_server=True)
|