Spaces:
Running
Running
Update main.py
Browse files
main.py
CHANGED
@@ -293,6 +293,11 @@ async def favicon():
|
|
293 |
favicon_path = Path(__file__).parent / "favicon.ico"
|
294 |
return FileResponse(favicon_path, media_type="image/x-icon")
|
295 |
|
|
|
|
|
|
|
|
|
|
|
296 |
@app.get("/ping")
|
297 |
async def ping():
|
298 |
return {"message": "pong", "response_time": "0.000000 seconds"}
|
|
|
293 |
favicon_path = Path(__file__).parent / "favicon.ico"
|
294 |
return FileResponse(favicon_path, media_type="image/x-icon")
|
295 |
|
296 |
+
@app.get("/banner.jpg")
|
297 |
+
async def favicon():
|
298 |
+
favicon_path = Path(__file__).parent / "banner.jpg"
|
299 |
+
return FileResponse(favicon_path, media_type="image/x-icon")
|
300 |
+
|
301 |
@app.get("/ping")
|
302 |
async def ping():
|
303 |
return {"message": "pong", "response_time": "0.000000 seconds"}
|