Ricercar commited on
Commit
7597349
1 Parent(s): 8ff0942

change for an accelerated endpoint

Browse files
Files changed (2) hide show
  1. .gitignore +0 -1
  2. pages/Gallery.py +2 -1
.gitignore CHANGED
@@ -8,4 +8,3 @@ Thumbs.db
8
  secret.sh
9
 
10
  .idea/
11
-
 
8
  secret.sh
9
 
10
  .idea/
 
pages/Gallery.py CHANGED
@@ -32,7 +32,8 @@ class GalleryApp:
32
  with cols[j]:
33
  # show image
34
  # image = self.images_ds[items.iloc[idx + j]['row_idx'].item()]['image']
35
- image = f"https://modelcofferbucket.s3.us-east-2.amazonaws.com/{items.iloc[idx + j]['image_id']}.png"
 
36
  st.image(image, use_column_width=True)
37
 
38
  # handel checkbox information
 
32
  with cols[j]:
33
  # show image
34
  # image = self.images_ds[items.iloc[idx + j]['row_idx'].item()]['image']
35
+ # image = f"https://modelcofferbucket.s3.us-east-2.amazonaws.com/{items.iloc[idx + j]['image_id']}.png"
36
+ image = f"https://modelcofferbucket.s3-accelerate.amazonaws.com/{items.iloc[idx + j]['image_id']}.png"
37
  st.image(image, use_column_width=True)
38
 
39
  # handel checkbox information