GitHub Actions commited on
Commit
bfbacc0
·
1 Parent(s): a29ca1c

Sync API from main repo

Browse files
Files changed (1) hide show
  1. fast.py +5 -1
fast.py CHANGED
@@ -11,7 +11,11 @@ from pathlib import Path
11
  PACKAGE_ROOT = Path(__file__).parent.parent.parent
12
  MODEL_DIR = PACKAGE_ROOT / "models"
13
 
14
- app = FastAPI()
 
 
 
 
15
 
16
  # Use absolute paths with Path objects
17
  model_cache = {}
 
11
  PACKAGE_ROOT = Path(__file__).parent.parent.parent
12
  MODEL_DIR = PACKAGE_ROOT / "models"
13
 
14
+ app = FastAPI(
15
+ docs_url="/docs",
16
+ redoc_url="/redoc",
17
+ openapi_url="/openapi.json"
18
+ )
19
 
20
  # Use absolute paths with Path objects
21
  model_cache = {}