NEXAS commited on
Commit
9a557f5
·
verified ·
1 Parent(s): 439c65e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -4
app.py CHANGED
@@ -61,13 +61,10 @@ def display_images(image_collection, query_text, max_distance=None, debug=False)
61
  try:
62
  img = PILImage.open(uri)
63
  with cols[i % 3]: # Use modulo to cycle through columns
64
- st.image(img, use_column_width=True)
65
  except Exception as e:
66
  st.error(f"Error loading image: {e}")
67
 
68
-
69
-
70
-
71
  def display_videos_streamlit(video_collection, query_text, max_distance=None, max_results=5, debug=False):
72
  """
73
  Display videos in a Streamlit app based on a query.
 
61
  try:
62
  img = PILImage.open(uri)
63
  with cols[i % 3]: # Use modulo to cycle through columns
64
+ st.image(img, use_container_width = True)
65
  except Exception as e:
66
  st.error(f"Error loading image: {e}")
67
 
 
 
 
68
  def display_videos_streamlit(video_collection, query_text, max_distance=None, max_results=5, debug=False):
69
  """
70
  Display videos in a Streamlit app based on a query.