keertan2610 commited on
Commit
7f4368e
·
verified ·
1 Parent(s): f2c2f6d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -14,5 +14,5 @@ async def get_image(filename: str):
14
  image_path = f"static/{filename}"
15
  if not os.path.exists(image_path):
16
  return {"error": "Image not found"}
17
- return FileResponse(image_path, media_type="image/png", filename=filename)
18
  # Create a blank image
 
14
  image_path = f"static/{filename}"
15
  if not os.path.exists(image_path):
16
  return {"error": "Image not found"}
17
+ return FileResponse(image_path, media_type="image/jpeg", filename=filename)
18
  # Create a blank image