Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -291,7 +291,7 @@ with st.spinner("Generating PDF..."):
|
|
291 |
st.subheader("PDF Preview")
|
292 |
pdf_image = pdf_to_image(pdf_bytes)
|
293 |
if pdf_image:
|
294 |
-
st.image(pdf_image, caption="PDF Page 1",
|
295 |
else:
|
296 |
st.info("Download the PDF to view it locally.")
|
297 |
|
|
|
291 |
st.subheader("PDF Preview")
|
292 |
pdf_image = pdf_to_image(pdf_bytes)
|
293 |
if pdf_image:
|
294 |
+
st.image(pdf_image, caption="PDF Page 1", use_container_width=True)
|
295 |
else:
|
296 |
st.info("Download the PDF to view it locally.")
|
297 |
|