coldlarry commited on
Commit
b5b98f8
•
1 Parent(s): 92c60ec
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -14,6 +14,7 @@ class GUI:
14
  #load pdf and create all embedings
15
  def pdf_init(self, api_key, pdf_path):
16
  openai.api_key = api_key
 
17
  with open(pdf_path,'r',encoding='utf-8') as f:
18
  texts = f.readlines()
19
  #按照行对文章进行切割
 
14
  #load pdf and create all embedings
15
  def pdf_init(self, api_key, pdf_path):
16
  openai.api_key = api_key
17
+ print("--------------pdf_path is:",pdf_path)
18
  with open(pdf_path,'r',encoding='utf-8') as f:
19
  texts = f.readlines()
20
  #按照行对文章进行切割