Spaces:
Running
Running
rahulkiitk
commited on
Commit
•
15f0383
1
Parent(s):
9d0ea70
Update uploads.py
Browse files- uploads.py +2 -0
uploads.py
CHANGED
@@ -212,6 +212,8 @@ def Evaluate(df):
|
|
212 |
ts = open(f"tests/test_sql.json")
|
213 |
gold_sql = json.load(ts)
|
214 |
|
|
|
|
|
215 |
gold_sql_list=[]
|
216 |
pred_sql_list=[]
|
217 |
questions_list=[]
|
|
|
212 |
ts = open(f"tests/test_sql.json")
|
213 |
gold_sql = json.load(ts)
|
214 |
|
215 |
+
assert len(pred_sql) == len(gold_sql)
|
216 |
+
|
217 |
gold_sql_list=[]
|
218 |
pred_sql_list=[]
|
219 |
questions_list=[]
|