GlobalBusinessAdvisors's picture
Update app/main.py
eec5a1d verified
raw
history blame
240 Bytes
from fastapi import FastAPI
from ui.gradio_ui import create_ui
app = FastAPI()
@app.on_event("startup")
def startup_event():
create_ui()
@app.get("/")
def read_root():
return {"message": "EcoPropertyRetrofitGPT API is running"}