czyoung commited on
Commit
1cd1fdb
·
verified ·
1 Parent(s): 1cf3fe7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +10 -0
app.py CHANGED
@@ -252,6 +252,11 @@ for i, tab in enumerate(audio_tabs):
252
  df2 = pd.DataFrame(dataTimeList)
253
  fig2_la = px.bar(dataTimeList, x="x", y="y", color="y", orientation='h')
254
  fig2_la.update_xaxes(ticksuffix="%")
 
 
 
 
 
255
  tab.plotly_chart(fig2_la, use_container_width=True)
256
  df = pd.DataFrame(
257
  {
@@ -312,6 +317,11 @@ for i, tab in enumerate(audio_tabs):
312
  df2 = pd.DataFrame(dataTimeList)
313
  fig2_spc = px.bar(dataTimeList, x="x", y="y", color="y", orientation='h')
314
  fig2_spc.update_xaxes(ticksuffix="%")
 
 
 
 
 
315
  tab.plotly_chart(fig2_spc, use_container_width=True)
316
 
317
  df = pd.DataFrame(
 
252
  df2 = pd.DataFrame(dataTimeList)
253
  fig2_la = px.bar(dataTimeList, x="x", y="y", color="y", orientation='h')
254
  fig2_la.update_xaxes(ticksuffix="%")
255
+ fig2_la.update_layout(
256
+ xaxis_title="Percentage Time Spoken",
257
+ yaxis_title="Speaker"
258
+
259
+ )
260
  tab.plotly_chart(fig2_la, use_container_width=True)
261
  df = pd.DataFrame(
262
  {
 
317
  df2 = pd.DataFrame(dataTimeList)
318
  fig2_spc = px.bar(dataTimeList, x="x", y="y", color="y", orientation='h')
319
  fig2_spc.update_xaxes(ticksuffix="%")
320
+ fig2_spc.update_layout(
321
+ xaxis_title="Percentage Time Spoken",
322
+ yaxis_title="Speaker"
323
+
324
+ )
325
  tab.plotly_chart(fig2_spc, use_container_width=True)
326
 
327
  df = pd.DataFrame(