sergiomar73 commited on
Commit
623d82f
1 Parent(s): 7101094

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -7
app.py CHANGED
@@ -122,13 +122,7 @@ def quantified_classification(transcript, threshold):
122
  fig.update_yaxes(range=[0, 1])
123
  # fig.show()
124
 
125
- details = df_results
126
- .drop(labels='line',axis=1)
127
- .sort_values(['tag','similarity'],ascending=[True,False])
128
- .groupby('tag')
129
- .head(3)
130
- .reset_index()
131
- .drop(labels='index',axis=1)
132
 
133
  res = df_summary['similarity'].to_dict()
134
 
 
122
  fig.update_yaxes(range=[0, 1])
123
  # fig.show()
124
 
125
+ details = df_results.drop(labels='line',axis=1).sort_values(['tag','similarity'],ascending=[True,False]).groupby('tag').head(3).reset_index() .drop(labels='index',axis=1)
 
 
 
 
 
 
126
 
127
  res = df_summary['similarity'].to_dict()
128