dkdaniz commited on
Commit
443105b
1 Parent(s): 7abeac3

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +2 -0
main.py CHANGED
@@ -68,6 +68,8 @@ app = FastAPI()
68
  def root():
69
  return {"API": "An API for Sepsis Prediction."}
70
 
 
 
71
 
72
  @app.post('/predict')
73
  async def predict(data: Predict):
 
68
  def root():
69
  return {"API": "An API for Sepsis Prediction."}
70
 
71
+ app.mount("/static", StaticFiles(directory="static"), name="static")
72
+
73
 
74
  @app.post('/predict')
75
  async def predict(data: Predict):