Umer4 commited on
Commit
930c985
·
verified ·
1 Parent(s): c5adc58

Add app.py

Browse files
Files changed (1) hide show
  1. app.py +11 -0
app.py ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ import os
3
+ import gradio as gr
4
+
5
+ gr.load_openapi(
6
+ openapi_spec="https://chimerical-palmier-57419d.netlify.app/pbc_swagger.json",
7
+ base_url="https://app.pbccompanies.com/",
8
+ paths=None,
9
+ methods=['GET'],
10
+ auth_token=os.getenv("OPENAPI_AUTH_TOKEN")
11
+ ).launch(mcp_server=True)