green commited on
Commit
c93a2e2
·
1 Parent(s): cef16b3

Adding graphed length delta

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -239,8 +239,8 @@ with st.form(key='columns_in_form'):
239
 
240
  # Summarize the findings for all models
241
  labels = [i for i in range(outdata['article_count'])]
242
- original_length = [i.original_length for i in outdata['summaries']]
243
- summarized_length = [i.summary_length for i in outdata['summaries']]
244
  x = np.arange(len(labels)) # the label locations
245
  width = 0.35 # the width of the bars
246
 
 
239
 
240
  # Summarize the findings for all models
241
  labels = [i for i in range(outdata['article_count'])]
242
+ original_length = [outdata['summaries'][i]['original_length'] for i in outdata['summaries']]
243
+ summarized_length = [outdata['summaries'][i]['summary_length'] for i in outdata['summaries']]
244
  x = np.arange(len(labels)) # the label locations
245
  width = 0.35 # the width of the bars
246