xtlyxt commited on
Commit
a7cf1f2
·
verified ·
1 Parent(s): fb60ae4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -3
app.py CHANGED
@@ -133,9 +133,14 @@ if st.button("Generate HeatMap & DataFrame"):
133
  worksheet = writer.sheets['Sheet1']
134
 
135
  # Set the column width and row height
136
- worksheet.set_column('A:I', 20) # Set width for columns A-I
137
- worksheet.set_column('J:J', 30) # Set width for column J (Image View)
138
- worksheet.set_column('K:K', 15) # Set width for column K (Image Num)
 
 
 
 
 
139
  for row_num in range(len(df_emotions) + 1): # +1 to include the header row
140
  worksheet.set_row(row_num, 38) # Set the row height to 38
141
 
 
133
  worksheet = writer.sheets['Sheet1']
134
 
135
  # Set the column width and row height
136
+ worksheet.set_column('A:G', 8) # Set width for columns A-G
137
+ worksheet.set_column('H:H', 22) # Set width for column H (Image Name)
138
+ worksheet.set_column('I:I', 14) # Set width for column I (Image Size)
139
+ worksheet.set_column('J:J', 12) # Set width for column J (Image View)
140
+ worksheet.set_column('K:K', 12) # Set width for column K (Image Num)
141
+
142
+
143
+
144
  for row_num in range(len(df_emotions) + 1): # +1 to include the header row
145
  worksheet.set_row(row_num, 38) # Set the row height to 38
146