Robaa commited on
Commit
fbf22dd
·
1 Parent(s): fb656d3

Change read_root endpoint to a synchronous function for improved performance

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -129,7 +129,7 @@ async def validation_exception_handler(request: Request, exc: RequestValidationE
129
 
130
  # Endpoints
131
  @app.get("/")
132
- async def read_root():
133
  return {"message": "Hello from our API, models are loading in the background!"}
134
 
135
 
 
129
 
130
  # Endpoints
131
  @app.get("/")
132
+ def read_root():
133
  return {"message": "Hello from our API, models are loading in the background!"}
134
 
135