root-sajjan commited on
Commit
224d736
·
verified ·
1 Parent(s): 7336c79
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -146,8 +146,8 @@ def cleanup_images(directory: str):
146
  # return JSONResponse(content={"items": predictions})
147
 
148
 
149
- except Exception as e:
150
- return JSONResponse(content={"error": str(e)}, status_code=500)
151
 
152
  # code to accept the localhost to get images from
153
  app.add_middleware(
 
146
  # return JSONResponse(content={"items": predictions})
147
 
148
 
149
+ # except Exception as e:
150
+ # return JSONResponse(content={"error": str(e)}, status_code=500)
151
 
152
  # code to accept the localhost to get images from
153
  app.add_middleware(