Spaces:
GIZ
/
Running on CPU Upgrade

prashant commited on
Commit
49548a6
1 Parent(s): 495891a
Files changed (1) hide show
  1. appStore/coherence.py +3 -1
appStore/coherence.py CHANGED
@@ -128,7 +128,9 @@ def app():
128
  max_seq_len=max_seq_len, useQueryCheck=False)
129
  raw_output = runSemanticPipeline(pipeline=semanticsearch_pipeline,queries=sent_labels)
130
  results_df = process_semantic_output(raw_output)
131
- data = results_df.drop(['answer','answer_offset','context_offset','context','retriever_score'])
 
 
132
  AgGrid(data, reload_data = False, update_mode="value_changed",
133
  columns_auto_size_mode = ColumnsAutoSizeMode.FIT_CONTENTS)
134
 
 
128
  max_seq_len=max_seq_len, useQueryCheck=False)
129
  raw_output = runSemanticPipeline(pipeline=semanticsearch_pipeline,queries=sent_labels)
130
  results_df = process_semantic_output(raw_output)
131
+ data = results_df.drop(['answer','answer_offset',
132
+ 'context_offset','context','retriever_score'],
133
+ axis = 1)
134
  AgGrid(data, reload_data = False, update_mode="value_changed",
135
  columns_auto_size_mode = ColumnsAutoSizeMode.FIT_CONTENTS)
136