Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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:
|
137 |
-
worksheet.set_column('
|
138 |
-
worksheet.set_column('
|
|
|
|
|
|
|
|
|
|
|
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 |
|