gkdivya commited on
Commit
717955f
·
1 Parent(s): 47133e1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -7
app.py CHANGED
@@ -80,11 +80,7 @@ def main_page(furniture_data):
80
  #filtered_images = filter_images(images_data, selected_options, selected_category)
81
  filtered_images = ['arhaus_video_5_frame_268.png',
82
  'arhaus_video_5_frame_237.png',
83
- 'arhaus_video_5_frame_269.png',
84
- 'arhaus_video_5_frame_275.png',
85
- 'arhaus_video_5_frame_276.png',
86
- 'arhaus_video_5_frame_236.png',
87
- 'arhaus_video_5_frame_272.png']
88
 
89
  if filtered_images:
90
  for image_name in filtered_images:
@@ -95,8 +91,7 @@ def main_page(furniture_data):
95
  with col2:
96
  if source_video and source_video in videos_data:
97
  video_url = videos_data[source_video]["url"]
98
- if st.button(f'Play Video for {image_name}', key=image_name):
99
- st.video(video_url)
100
  with col3:
101
  if source_video and source_video in videos_data:
102
  with st.expander(f"Show Metadata for {image_name}"):
 
80
  #filtered_images = filter_images(images_data, selected_options, selected_category)
81
  filtered_images = ['arhaus_video_5_frame_268.png',
82
  'arhaus_video_5_frame_237.png',
83
+ 'arhaus_video_5_frame_269.png']
 
 
 
 
84
 
85
  if filtered_images:
86
  for image_name in filtered_images:
 
91
  with col2:
92
  if source_video and source_video in videos_data:
93
  video_url = videos_data[source_video]["url"]
94
+ st.video(video_url)
 
95
  with col3:
96
  if source_video and source_video in videos_data:
97
  with st.expander(f"Show Metadata for {image_name}"):