artintel235 commited on
Commit
0096c6b
·
verified ·
1 Parent(s): 0b11ade

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -266,7 +266,7 @@ def upload_image_to_storage(image, user_id, is_thumbnail = False):
266
  if is_thumbnail:
267
  file_path = f"user_images/{user_id}/thumbnails/{image_id}.png" # path for thumbnail
268
  else:
269
- file_path = f"user_images/{user_id}/{image_id}.png" # path for high resolution images
270
  blob = bucket.blob(file_path)
271
 
272
  # Convert PIL Image to BytesIO object
 
266
  if is_thumbnail:
267
  file_path = f"user_images/{user_id}/thumbnails/{image_id}.png" # path for thumbnail
268
  else:
269
+ file_path = f"images/{user_id}/{image_id}.png" # path for high resolution images
270
  blob = bucket.blob(file_path)
271
 
272
  # Convert PIL Image to BytesIO object