carblacac commited on
Commit
2c439c5
1 Parent(s): 4a8eac5

correct error

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -52,7 +52,7 @@ def highlight_text(fileObj):
52
  entities = nlp(text)
53
  df = entities_to_df(entities)
54
 
55
- entities = img_tagging.to_dict('records')
56
 
57
  entities = transform_entity_type(entities)
58
 
 
52
  entities = nlp(text)
53
  df = entities_to_df(entities)
54
 
55
+ entities = df.to_dict('records')
56
 
57
  entities = transform_entity_type(entities)
58