Update app.py
Browse files
app.py
CHANGED
|
@@ -11,7 +11,7 @@ if not st.session_state.get('password_entered', False):
|
|
| 11 |
with col2: # Place image in the middle column
|
| 12 |
try:
|
| 13 |
image = Image.open("hvd.jpeg")
|
| 14 |
-
st.image(image,
|
| 15 |
except FileNotFoundError:
|
| 16 |
st.error("Image file not found. Please place 'hvd.jpeg' in the same directory as your script.")
|
| 17 |
|
|
|
|
| 11 |
with col2: # Place image in the middle column
|
| 12 |
try:
|
| 13 |
image = Image.open("hvd.jpeg")
|
| 14 |
+
st.image(image, use_container_width=True) # Image scales within column
|
| 15 |
except FileNotFoundError:
|
| 16 |
st.error("Image file not found. Please place 'hvd.jpeg' in the same directory as your script.")
|
| 17 |
|