mirror of
https://github.com/eigent-ai/eigent.git
synced 2026-04-28 11:40:25 +00:00
6 lines
175 B
Python
6 lines
175 B
Python
from app import api
|
|
from app.component.babel import babel_configs
|
|
from fastapi_babel import BabelMiddleware
|
|
|
|
|
|
api.add_middleware(BabelMiddleware, babel_configs=babel_configs)
|