Skip to content
Snippets Groups Projects
Commit 1fa881df authored by Marcus Schiesser's avatar Marcus Schiesser Committed by GitHub
Browse files

refactor: simplify generated python code (#558)


Co-authored-by: default avatarleehuwuj <leehuwuj@gmail.com>
parent c74fec2b
No related branches found
No related tags found
No related merge requests found
......@@ -5,12 +5,16 @@ load_dotenv()
import logging
import os
import uvicorn
from app.api.routers.chat import chat_router
from fastapi import FastAPI
from fastapi.middleware.cors import CORSMiddleware
from app.api.routers.chat import chat_router
from app.settings import init_settings
app = FastAPI()
init_settings()
environment = os.getenv("ENVIRONMENT", "dev") # Default to 'development' if not set
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment