Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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
|
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
|
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 = [
|