Blanca commited on
Commit
315e48e
·
verified ·
1 Parent(s): b5366b3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -231,7 +231,7 @@ def add_new_eval(
231
  # TODO: here upload the embedding that I have saved, so they can be used in similarity evaluation
232
 
233
  #print(reference_set, flush=True)
234
- if len(line['cqs']) < 3 or type(line['cqs']) is list: # make sure there are at least 3 cqs
235
  #return format_warning("Make sure that there are at least 3 questions per intervention, or check that the format is right.")
236
  intervention_score = 0
237
  nae = 3
 
231
  # TODO: here upload the embedding that I have saved, so they can be used in similarity evaluation
232
 
233
  #print(reference_set, flush=True)
234
+ if len(line['cqs']) < 3 or type(line['cqs']) is not list: # make sure there are at least 3 cqs
235
  #return format_warning("Make sure that there are at least 3 questions per intervention, or check that the format is right.")
236
  intervention_score = 0
237
  nae = 3