Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -83,7 +83,7 @@ def inference(query):
|
|
83 |
]
|
84 |
a_table.append(record)
|
85 |
|
86 |
-
if j_bucket
|
87 |
del j_bucket['None']
|
88 |
j_table = sorted([[journal, round(score, 3)] for journal,
|
89 |
score in j_bucket.items()],
|
|
|
83 |
]
|
84 |
a_table.append(record)
|
85 |
|
86 |
+
if j_bucket.get('None',None):
|
87 |
del j_bucket['None']
|
88 |
j_table = sorted([[journal, round(score, 3)] for journal,
|
89 |
score in j_bucket.items()],
|