yilunzhao commited on
Commit
9f3c4d3
·
verified ·
1 Parent(s): 45398ec

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -51,6 +51,7 @@ def insert_sentence(text, sentence, interval):
51
  return '\n'.join(new_lines)
52
 
53
 
 
54
  def format_bibtex(paper, style='apa'):
55
  bibtex_entry = paper["citationStyles"]["bibtex"]
56
  try:
 
51
  return '\n'.join(new_lines)
52
 
53
 
54
+ from pybtex.errors import MissingFieldError
55
  def format_bibtex(paper, style='apa'):
56
  bibtex_entry = paper["citationStyles"]["bibtex"]
57
  try: