Spaces:
Running
on
L4
Running
on
L4
Remove deprecated use_column_width
Browse files- sketch2diagram.py +1 -1
sketch2diagram.py
CHANGED
@@ -66,7 +66,7 @@ if generate_command:
|
|
66 |
|
67 |
st.subheader("Generated Diagram")
|
68 |
images = convert_from_path(pdf_file_path)
|
69 |
-
st.image(images[0], caption="Generated Diagram",
|
70 |
with open(pdf_file_path, "rb") as f:
|
71 |
st.download_button(
|
72 |
label="Download PDF",
|
|
|
66 |
|
67 |
st.subheader("Generated Diagram")
|
68 |
images = convert_from_path(pdf_file_path)
|
69 |
+
st.image(images[0], caption="Generated Diagram", use_container_width=True)
|
70 |
with open(pdf_file_path, "rb") as f:
|
71 |
st.download_button(
|
72 |
label="Download PDF",
|