Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -181,7 +181,7 @@ for j, tab in enumerate(audio_tabs):
|
|
| 181 |
df = df.style \
|
| 182 |
.format_index(str.upper, axis=1) \
|
| 183 |
.relabel_index(["Lecturer", "Audience"], axis=0) \
|
| 184 |
-
|
| 185 |
tab.write("Total length of audio: {}h:{:02d}m:{:02d}s".format(int(totalSeconds/3600),int((totalSeconds%3600)/60),int(totalSeconds%60)))
|
| 186 |
tab.table(df)
|
| 187 |
#tab.write("Lecturer spoke: {}h:{:02d}m:{:02d}s -> {:.2f}% of time".format(int(lecturer_speaker_times[0]/3600),
|
|
@@ -242,7 +242,7 @@ for j, tab in enumerate(audio_tabs):
|
|
| 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 |
-
|
| 246 |
|
| 247 |
tab.write("Total length of audio: {}h:{:02d}m:{:02d}s".format(int(totalSeconds/3600),int((totalSeconds%3600)/60),int(totalSeconds%60)))
|
| 248 |
tab.table(df)
|
|
|
|
| 181 |
df = df.style \
|
| 182 |
.format_index(str.upper, axis=1) \
|
| 183 |
.relabel_index(["Lecturer", "Audience"], axis=0) \
|
| 184 |
+
#.set_properties(**{"background-color": "white"})
|
| 185 |
tab.write("Total length of audio: {}h:{:02d}m:{:02d}s".format(int(totalSeconds/3600),int((totalSeconds%3600)/60),int(totalSeconds%60)))
|
| 186 |
tab.table(df)
|
| 187 |
#tab.write("Lecturer spoke: {}h:{:02d}m:{:02d}s -> {:.2f}% of time".format(int(lecturer_speaker_times[0]/3600),
|
|
|
|
| 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"})
|
| 246 |
|
| 247 |
tab.write("Total length of audio: {}h:{:02d}m:{:02d}s".format(int(totalSeconds/3600),int((totalSeconds%3600)/60),int(totalSeconds%60)))
|
| 248 |
tab.table(df)
|