ParthSadaria commited on
Commit
43da909
·
verified ·
1 Parent(s): fdc5bac

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +5 -0
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"}