prthm11 commited on
Commit
17e6a4f
·
verified ·
1 Parent(s): cb3cb62

Update server.py

Browse files
Files changed (1) hide show
  1. server.py +2 -2
server.py CHANGED
@@ -13,7 +13,7 @@ logging.basicConfig(
13
  logger = logging.getLogger("MathServer")
14
 
15
  # Initialize FastMCP server
16
- mcp = FastMCP("Math-Education-Server", stateless_http=True)
17
 
18
  # Use Path for cross-platform compatibility
19
  current_dir = Path(__file__).parent
@@ -62,4 +62,4 @@ if __name__ == "__main__":
62
 
63
  # Use SSE transport for Hugging Face Spaces
64
  # FastMCP handles host validation automatically
65
- mcp.run(transport="sse", host=host, port=port)
 
13
  logger = logging.getLogger("MathServer")
14
 
15
  # Initialize FastMCP server
16
+ mcp = FastMCP("Math-Education-Server")
17
 
18
  # Use Path for cross-platform compatibility
19
  current_dir = Path(__file__).parent
 
62
 
63
  # Use SSE transport for Hugging Face Spaces
64
  # FastMCP handles host validation automatically
65
+ mcp.run(transport="sse", host=host, port=port, stateless_http=True)