Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -286,7 +286,7 @@ with st.spinner("Generating PDF..."):
|
|
| 286 |
with st.container():
|
| 287 |
pdf_image = pdf_to_image(pdf_bytes)
|
| 288 |
if pdf_image:
|
| 289 |
-
st.image(pdf_image,
|
| 290 |
else:
|
| 291 |
st.info("Download the PDF to view it locally.")
|
| 292 |
|
|
|
|
| 286 |
with st.container():
|
| 287 |
pdf_image = pdf_to_image(pdf_bytes)
|
| 288 |
if pdf_image:
|
| 289 |
+
st.image(pdf_image, use_container_width=True)
|
| 290 |
else:
|
| 291 |
st.info("Download the PDF to view it locally.")
|
| 292 |
|