hassan526 commited on
Commit
b2470a5
·
verified ·
1 Parent(s): 679aed5

Update flask/app.py

Browse files
Files changed (1) hide show
  1. flask/app.py +2 -0
flask/app.py CHANGED
@@ -83,6 +83,8 @@ def generate_response(result, face_rect, score, angles):
83
 
84
  return JSONResponse(content=data, status_code=200)
85
 
 
 
86
  @app.get("/")
87
  def read_root():
88
  return {"status": "API is running"}
 
83
 
84
  return JSONResponse(content=data, status_code=200)
85
 
86
+ app = FastAPI()
87
+
88
  @app.get("/")
89
  def read_root():
90
  return {"status": "API is running"}