Vlad Bastina commited on
Commit
0c6ce63
·
1 Parent(s): c8d03be

send height

Browse files
Files changed (1) hide show
  1. streamlit_app.py +1 -1
streamlit_app.py CHANGED
@@ -57,7 +57,7 @@ def display_message(role, content, image_path=None):
57
  # Display the image if it exists
58
  try:
59
  img = Image.open(image_path)
60
- st.image(img, caption="Generated Image", use_column_width=True)
61
  except Exception as e:
62
  st.error(f"Error loading image: {e}")
63
 
 
57
  # Display the image if it exists
58
  try:
59
  img = Image.open(image_path)
60
+ st.image(img, caption="Generated Image", use_container_width=True)
61
  except Exception as e:
62
  st.error(f"Error loading image: {e}")
63