Spaces:
Running
Running
Fix deprecated use_column_width parameter in app.py, replace with use_container_width
Browse files
app.py
CHANGED
@@ -341,7 +341,7 @@ def process_document(uploaded_file, left_col, right_col, sidebar_options):
|
|
341 |
with st.container():
|
342 |
processed_bytes = preprocess_image(uploaded_file.getvalue(), sidebar_options["preprocessing_options"])
|
343 |
# Use use_container_width=True for responsive design
|
344 |
-
st.image(io.BytesIO(processed_bytes),
|
345 |
|
346 |
# Show preprocessing metadata in a well-formatted caption
|
347 |
meta_items = []
|
|
|
341 |
with st.container():
|
342 |
processed_bytes = preprocess_image(uploaded_file.getvalue(), sidebar_options["preprocessing_options"])
|
343 |
# Use use_container_width=True for responsive design
|
344 |
+
st.image(io.BytesIO(processed_bytes), use_container_width=True)
|
345 |
|
346 |
# Show preprocessing metadata in a well-formatted caption
|
347 |
meta_items = []
|