João Pedro commited on
Commit
180d132
·
1 Parent(s): 548ee28

swap deprecated option in streamlit

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -23,7 +23,7 @@ if uploaded_file:
23
 
24
  # Process each image for classification
25
  for i, image in enumerate(images):
26
- st.image(image, caption=f'Uploaded Image {i}', use_column_width=True)
27
  # Prepare image for model input
28
  encoding = processor(image, return_tensors="pt")
29
  outputs = model(**encoding)
 
23
 
24
  # Process each image for classification
25
  for i, image in enumerate(images):
26
+ st.image(image, caption=f'Uploaded Image {i}', use_container_width=True)
27
  # Prepare image for model input
28
  encoding = processor(image, return_tensors="pt")
29
  outputs = model(**encoding)