AxL95 commited on
Commit
a37a998
·
verified ·
1 Parent(s): 7ebfb0c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -4
app.py CHANGED
@@ -227,10 +227,8 @@ async def get_data():
227
 
228
 
229
 
230
- # Ou ajoutez un index minimal
231
- @app.get("/")
232
- def read_root():
233
- return {"message": "API Medically fonctionnelle", "endpoints": ["/api/chat", "/invert", "/data"]}
234
  if __name__ == "__main__":
235
  import uvicorn
236
 
 
227
 
228
 
229
 
230
+ app.mount("/", StaticFiles(directory="static", html=True), name="static")
231
+
 
 
232
  if __name__ == "__main__":
233
  import uvicorn
234