jibsn commited on
Commit
9a51627
·
verified ·
1 Parent(s): 5e4041c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -156,4 +156,5 @@ with gr.Blocks() as demo:
156
  )
157
 
158
  # 启动Gradio应用
159
- demo.launch()
 
 
156
  )
157
 
158
  # 启动Gradio应用
159
+ if __name__ == "__main__":
160
+ demo.launch(mcp_server=True)