Update app.py
Browse files
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
|