Saketh12345 commited on
Commit
174ae28
·
1 Parent(s): 6b4d607

fix: update deprecated use_column_width to use_container_width

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -150,7 +150,7 @@ if uploaded_file is not None:
150
  try:
151
  # Display the uploaded image
152
  image = Image.open(uploaded_file).convert('RGB')
153
- st.image(image, caption='Uploaded Image', use_column_width=True)
154
 
155
  # Make prediction
156
  with st.spinner('Analyzing...'):
 
150
  try:
151
  # Display the uploaded image
152
  image = Image.open(uploaded_file).convert('RGB')
153
+ st.image(image, caption='Uploaded Image', use_container_width=True)
154
 
155
  # Make prediction
156
  with st.spinner('Analyzing...'):