Ricercar commited on
Commit
80c61aa
·
1 Parent(s): fa4bfff

Update Gallery.py

Browse files
Files changed (1) hide show
  1. pages/Gallery.py +1 -2
pages/Gallery.py CHANGED
@@ -32,7 +32,6 @@ 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
  image = f"https://modelcofferbucket.s3-accelerate.amazonaws.com/{items.iloc[idx + j]['image_id']}.png"
37
  st.image(image, use_column_width=True)
38
 
@@ -42,7 +41,7 @@ class GalleryApp:
42
 
43
  check_init = True if modelVersion_id in st.session_state.selected_dict.get(prompt_id, []) else False
44
 
45
- st.write("Position: ", idx + j)
46
 
47
  # show checkbox
48
  st.checkbox('Select', key=f'select_{prompt_id}_{modelVersion_id}', value=check_init)
 
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-accelerate.amazonaws.com/{items.iloc[idx + j]['image_id']}.png"
36
  st.image(image, use_column_width=True)
37
 
 
41
 
42
  check_init = True if modelVersion_id in st.session_state.selected_dict.get(prompt_id, []) else False
43
 
44
+ # st.write("Position: ", idx + j)
45
 
46
  # show checkbox
47
  st.checkbox('Select', key=f'select_{prompt_id}_{modelVersion_id}', value=check_init)