Spaces:
Build error
Build error
Update main.py
Browse files
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):
|