GlobalBusinessAdvisors's picture
Rename main.py to app/main.py
dd13b0d verified
raw
history blame
239 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"}