from fastapi import Request, HTTPException, Query
from fastapi.responses import JSONResponse
from fastapi.responses import PlainTextResponse
+from fastapi.templating import Jinja2Templates
import fastapi
import uvicorn
from fba import fba
router = fastapi.FastAPI(docs_url=config.get("base_url") + "/docs", redoc_url=config.get("base_url") + "/redoc")
-templates = fastapi.templating.Jinja2Templates(directory="templates")
+templates = Jinja2Templates(directory="templates")
@router.get(config.get("base_url") + "/api/info.json", response_class=JSONResponse)
def api_info():