ShiwenNi commited on
Commit
a670530
1 Parent(s): fb5a6bb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -38,7 +38,7 @@ class Reviewer:
38
  try:
39
  text += 'Title:' + paper.title + '. '
40
  text += 'Abstract: ' + paper.section_texts['Abstract']
41
- except error:
42
  pass
43
  intro_title = next((item for item in paper.section_names if 'ntroduction' in item.lower()), None)
44
  if intro_title is not None:
@@ -61,7 +61,7 @@ class Reviewer:
61
  try:
62
  text += 'Title:' + paper.title + '. '
63
  text += 'Abstract: ' + paper.section_texts['Abstract']
64
- except error:
65
  pass
66
  openai.api_key = self.api
67
  messages = [
 
38
  try:
39
  text += 'Title:' + paper.title + '. '
40
  text += 'Abstract: ' + paper.section_texts['Abstract']
41
+ except:
42
  pass
43
  intro_title = next((item for item in paper.section_names if 'ntroduction' in item.lower()), None)
44
  if intro_title is not None:
 
61
  try:
62
  text += 'Title:' + paper.title + '. '
63
  text += 'Abstract: ' + paper.section_texts['Abstract']
64
+ except:
65
  pass
66
  openai.api_key = self.api
67
  messages = [