Pclanglais commited on
Commit
de4a207
·
verified ·
1 Parent(s): ac61d79

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -193,7 +193,7 @@ class CombinedProcessor:
193
  if entity_group != 'None':
194
  if entity_group in bibtex_data:
195
  print(entity_group)
196
- if entity_group == "Author":
197
  bibtex_data[entity_group] += ', ' + word
198
  else:
199
  bibtex_data[entity_group] += ' ' + word
@@ -202,7 +202,7 @@ class CombinedProcessor:
202
  current_entity = entity_group
203
  else:
204
  if current_entity:
205
- if current_entity == "Author":
206
  bibtex_data[current_entity] += ', ' + word
207
  else:
208
  bibtex_data[current_entity] += ' ' + word
 
193
  if entity_group != 'None':
194
  if entity_group in bibtex_data:
195
  print(entity_group)
196
+ if entity_group == "author":
197
  bibtex_data[entity_group] += ', ' + word
198
  else:
199
  bibtex_data[entity_group] += ' ' + word
 
202
  current_entity = entity_group
203
  else:
204
  if current_entity:
205
+ if current_entity == "author":
206
  bibtex_data[current_entity] += ', ' + word
207
  else:
208
  bibtex_data[current_entity] += ' ' + word