Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -178,7 +178,7 @@ for j, tab in enumerate(audio_tabs):
|
|
| 178 |
],
|
| 179 |
}
|
| 180 |
)
|
| 181 |
-
df.style \
|
| 182 |
.format_index(str.upper, axis=1) \
|
| 183 |
.relabel_index(["Lecturer", "Audience"], axis=0) \
|
| 184 |
.set_properties({"background-color": "white"})
|
|
@@ -239,7 +239,7 @@ for j, tab in enumerate(audio_tabs):
|
|
| 239 |
"Percentage": ["{:.2f}%".format(100*sp/totalSeconds) for sp in all_speaker_times],
|
| 240 |
}
|
| 241 |
)
|
| 242 |
-
df.style \
|
| 243 |
.format_index(str.upper, axis=1) \
|
| 244 |
.relabel_index([f"speaker {sp}" for sp in range(len(all_speaker_times))], axis=0) \
|
| 245 |
.set_properties({"background-color": "white"})
|
|
|
|
| 178 |
],
|
| 179 |
}
|
| 180 |
)
|
| 181 |
+
df = df.style \
|
| 182 |
.format_index(str.upper, axis=1) \
|
| 183 |
.relabel_index(["Lecturer", "Audience"], axis=0) \
|
| 184 |
.set_properties({"background-color": "white"})
|
|
|
|
| 239 |
"Percentage": ["{:.2f}%".format(100*sp/totalSeconds) for sp in all_speaker_times],
|
| 240 |
}
|
| 241 |
)
|
| 242 |
+
df = df.style \
|
| 243 |
.format_index(str.upper, axis=1) \
|
| 244 |
.relabel_index([f"speaker {sp}" for sp in range(len(all_speaker_times))], axis=0) \
|
| 245 |
.set_properties({"background-color": "white"})
|