Spaces:
Build error
Build error
Update utils.py
Browse files
utils.py
CHANGED
|
@@ -40,7 +40,7 @@ def summarize_research_direction(papers):
|
|
| 40 |
|
| 41 |
openai.api_key = KEY
|
| 42 |
input = {}
|
| 43 |
-
input['
|
| 44 |
prompt = prompt_qa.format_map(input)
|
| 45 |
try:
|
| 46 |
completion = openai.ChatCompletion.create(
|
|
|
|
| 40 |
|
| 41 |
openai.api_key = KEY
|
| 42 |
input = {}
|
| 43 |
+
input['papers'] = papers
|
| 44 |
prompt = prompt_qa.format_map(input)
|
| 45 |
try:
|
| 46 |
completion = openai.ChatCompletion.create(
|