Spaces:
Running
Running
Commit
·
8a972d8
1
Parent(s):
da39148
Upload app.py
Browse files
app.py
CHANGED
|
@@ -679,7 +679,7 @@ def upload_pdf(key, text, p, temperature, file):
|
|
| 679 |
paper_list = [Paper(path=file, sl=section_list)]
|
| 680 |
# 创建一个Reader对象
|
| 681 |
reader = Reader()
|
| 682 |
-
sum_info, cost = reader.summary_with_chat(paper_list=paper_list, key=key, p, temperature)
|
| 683 |
return cost, sum_info
|
| 684 |
|
| 685 |
api_title = "api-key可用验证"
|
|
|
|
| 679 |
paper_list = [Paper(path=file, sl=section_list)]
|
| 680 |
# 创建一个Reader对象
|
| 681 |
reader = Reader()
|
| 682 |
+
sum_info, cost = reader.summary_with_chat(paper_list=paper_list, key=key, p=p, temperature=temperature)
|
| 683 |
return cost, sum_info
|
| 684 |
|
| 685 |
api_title = "api-key可用验证"
|