diff --git a/requirements.txt b/requirements.txt index 2aebf1b..e7171f2 100644 --- a/requirements.txt +++ b/requirements.txt @@ -3,4 +3,5 @@ playwright==1.56.0 python-dotenv==1.2.1 requests==2.32.5 uvicorn==0.38.0 -fastapi==0.121.2 \ No newline at end of file +fastapi==0.121.2 +opencv-python==4.13.0.92 \ No newline at end of file diff --git a/wcag_validator_RESTserver.py b/wcag_validator_RESTserver.py index 5305cf5..589f002 100644 --- a/wcag_validator_RESTserver.py +++ b/wcag_validator_RESTserver.py @@ -20,7 +20,8 @@ from restserver.routers import ( routes_wcag_alttext, routes_extract_images, routes_wcag_h58, - routes_wcag_g88 + routes_wcag_g88, + routes_wcag_sc258 ) from dependences.utils import ( @@ -56,12 +57,14 @@ def server(connection_db, mllm_settings): wcag_g88_routes = routes_wcag_g88.WCAG_g88ValuationRoutes( connection_db, mllm_settings) - + wcag_sc258_routes = routes_wcag_sc258.WCAG_sc258ValuationRoutes( + connection_db, mllm_settings) app.include_router(wcag_alttext_routes.router, prefix="") app.include_router(wcag_h58_routes.router, prefix="") app.include_router(wcag_g88_routes.router, prefix="") + app.include_router(wcag_sc258_routes.router, prefix="") # do not use LLMs app.include_router(health_routes.router, prefix="")