abidlabs HF Staff commited on
Commit
79d2412
·
verified ·
1 Parent(s): 3a7c6fc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -56,7 +56,7 @@ import gradio as gr
56
  gr.load_openapi(
57
  openapi_spec=\"{}\",
58
  base_url=\"{}\",
59
- paths={},
60
  methods={},
61
  ).launch(mcp_server=True)
62
  """
@@ -111,7 +111,7 @@ def launch_mcp_server(openapi_spec_url, api_base_url, paths, methods, space_name
111
  gradio_app_code.format(
112
  openapi_spec_url,
113
  api_base_url,
114
- paths or "None",
115
  methods
116
  )
117
  )
 
56
  gr.load_openapi(
57
  openapi_spec=\"{}\",
58
  base_url=\"{}\",
59
+ paths=\"{}\",
60
  methods={},
61
  ).launch(mcp_server=True)
62
  """
 
111
  gradio_app_code.format(
112
  openapi_spec_url,
113
  api_base_url,
114
+ paths or None,
115
  methods
116
  )
117
  )