JeCabrera commited on
Commit
bb6c739
·
verified ·
1 Parent(s): 2bf0abd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
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
- # Display preview of file content
96
- with st.expander("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
 
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