Update app.py
Browse files
app.py
CHANGED
@@ -227,10 +227,8 @@ async def get_data():
|
|
227 |
|
228 |
|
229 |
|
230 |
-
|
231 |
-
|
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 |
|