更新 server.py
This commit is contained in:
@@ -24,7 +24,8 @@ initialize_logging()
|
||||
logger = get_logger("Server")
|
||||
|
||||
# Try to import FastAPI server, fall back to HTTP handler if not available
|
||||
USE_FASTAPI = False # Default to False
|
||||
USE_FASTAPI = True # Default to True
|
||||
|
||||
try:
|
||||
from fastapi_server import start_server as fastapi_start_server
|
||||
from fastapi_server import stop_server as fastapi_stop_server
|
||||
|
Reference in New Issue
Block a user