Spaces:
Running
Running
piotr-szleg-bards-ai
commited on
Commit
·
3ea6115
1
Parent(s):
86c5452
2024-02-22 22:50:59 Publish script update
Browse files
app.py
CHANGED
@@ -145,7 +145,7 @@ def dataframe_style(df: pd.DataFrame):
|
|
145 |
else:
|
146 |
column_formats[column] = "{:.2f}"
|
147 |
new_column_name = snake_case_to_title(column)
|
148 |
-
if "time" in column:
|
149 |
new_column_name += " (Seconds)"
|
150 |
elif "chunk" in column:
|
151 |
new_column_name += " (Characters)"
|
|
|
145 |
else:
|
146 |
column_formats[column] = "{:.2f}"
|
147 |
new_column_name = snake_case_to_title(column)
|
148 |
+
if "time" in column and column != "time_of_day":
|
149 |
new_column_name += " (Seconds)"
|
150 |
elif "chunk" in column:
|
151 |
new_column_name += " (Characters)"
|