This commit is contained in:
		
							parent
							
								
									6d6ec72336
								
							
						
					
					
						commit
						34245ed004
					
				|  | @ -7,6 +7,7 @@ s3fs | |||
| aiofiles | ||||
| duckdb | ||||
| polars | ||||
| pyarrow | ||||
| pyjwt[crypto] | ||||
| python-multipart | ||||
| authlib | ||||
|  |  | |||
|  | @ -122,6 +122,7 @@ numpy==1.26.4 | |||
|     # via | ||||
|     #   langchain | ||||
|     #   langchain-community | ||||
|     #   pyarrow | ||||
| openai==1.33.0 | ||||
| orjson==3.10.4 | ||||
|     # via | ||||
|  | @ -132,6 +133,7 @@ packaging==23.2 | |||
|     #   langchain-core | ||||
|     #   marshmallow | ||||
| polars==0.20.31 | ||||
| pyarrow==16.1.0 | ||||
| pycparser==2.22 | ||||
|     # via cffi | ||||
| pydantic==2.7.3 | ||||
|  |  | |||
|  | @ -2,7 +2,7 @@ import json | |||
| from pathlib import Path | ||||
| 
 | ||||
| from fastapi import FastAPI | ||||
| from fastapi.responses import HTMLResponse, RedirectResponse | ||||
| from fastapi.responses import HTMLResponse, RedirectResponse, FileResponse | ||||
| from fastapi.staticfiles import StaticFiles | ||||
| from starlette.middleware.sessions import SessionMiddleware | ||||
| from starlette.requests import Request | ||||
|  | @ -29,6 +29,11 @@ async def homepage(request: Request): | |||
|         return HTMLResponse(f.read()) | ||||
| 
 | ||||
| 
 | ||||
| @app.get("/favicon.ico") | ||||
| async def favicon(): | ||||
|     return FileResponse(static_path / "img" / "favicon.ico") | ||||
| 
 | ||||
| 
 | ||||
| app.include_router(health.router) | ||||
| app.include_router(sessions.router) | ||||
| app.include_router(files.router) | ||||
|  |  | |||
		Loading…
	
		Reference in a new issue