atrytone commited on
Commit
9c670cb
1 Parent(s): 5b33fa9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -83,7 +83,7 @@ def inference(query):
83
  ]
84
  a_table.append(record)
85
 
86
- if j_bucket['None']:
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()],