Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -165,11 +165,6 @@ def process_pdf(uploaded_file, llm_model, n_criteria = num_criteria):
|
|
165 |
|
166 |
modified_journal_query = "Is the given research paper published in any of the following journals: " + ", ".join(peer_review_journals_list) + "?"
|
167 |
|
168 |
-
example_journal = {"query":modified_journal_query,
|
169 |
-
"Answer": "The article is published in the Lancet."}
|
170 |
-
example_author = {"query":author_query,
|
171 |
-
"Answer": "Corresponding author. Stephanie J. Sohl, Ph.D., Department of Social Sciences & Health Policy, Wake Forest School of Medicine, Medical Center Boulevard, Winston-Salem, NC 27157, USA, ssohl@wakehealth.edu"}
|
172 |
-
|
173 |
formatted_journal_example = format_example(example_journal)
|
174 |
formatted_author_example = format_example(example_author)
|
175 |
|
|
|
165 |
|
166 |
modified_journal_query = "Is the given research paper published in any of the following journals: " + ", ".join(peer_review_journals_list) + "?"
|
167 |
|
|
|
|
|
|
|
|
|
|
|
168 |
formatted_journal_example = format_example(example_journal)
|
169 |
formatted_author_example = format_example(example_author)
|
170 |
|