xarical commited on
Commit
faf4025
·
1 Parent(s): 5a76dd6

Create app.py

Browse files
Files changed (1) hide show
  1. app.py +10 -0
app.py ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ import gradio as gr
2
+
3
+ demo = gr.load_openapi(
4
+ openapi_spec="https://flat.io/developers/api/reference/openapi.json",
5
+ base_url="https://api.flat.io/v2",
6
+ paths=["/scores.*"],
7
+ methods=["get"],
8
+ )
9
+
10
+ demo.launch(mcp_server=True)