Praveen0309 commited on
Commit
17b6186
1 Parent(s): cef8f92

final_commit

Browse files
Files changed (2) hide show
  1. __pycache__/main.cpython-39.pyc +0 -0
  2. main.py +1 -1
__pycache__/main.cpython-39.pyc CHANGED
Binary files a/__pycache__/main.cpython-39.pyc and b/__pycache__/main.cpython-39.pyc differ
 
main.py CHANGED
@@ -191,7 +191,7 @@ async def get_items(msg: str):
191
  app.mount("/", StaticFiles(directory="static", html=True), name="static")
192
  @app.get("/")
193
  def home() -> FileResponse:
194
- image_cache = {}
195
  return FileResponse(path="/app/static/index.html")
196
 
197
  # Run the Flask app
 
191
  app.mount("/", StaticFiles(directory="static", html=True), name="static")
192
  @app.get("/")
193
  def home() -> FileResponse:
194
+ image_cache.clear()
195
  return FileResponse(path="/app/static/index.html")
196
 
197
  # Run the Flask app