Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -92,9 +92,9 @@ with col1:
|
|
92 |
st.error(f"Error al leer el archivo DOCX: {str(e)}")
|
93 |
file_content = ""
|
94 |
|
95 |
-
#
|
96 |
-
|
97 |
-
|
98 |
|
99 |
# Set file type flag
|
100 |
is_image = False
|
|
|
92 |
st.error(f"Error al leer el archivo DOCX: {str(e)}")
|
93 |
file_content = ""
|
94 |
|
95 |
+
# Instead of using an expander, just show a preview with a header
|
96 |
+
st.write("**Vista previa del contenido:**")
|
97 |
+
st.write(file_content[:500] + "..." if len(file_content) > 500 else file_content)
|
98 |
|
99 |
# Set file type flag
|
100 |
is_image = False
|