dgmos commited on
Commit
d5cf1a6
·
1 Parent(s): 2f674ad

Deploy chatbot update

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -76,8 +76,7 @@ for filename in pdf_files:
76
  content = page.extract_text()
77
  if content:
78
  texts.append(content)
79
- text = "
80
- ".join(texts).strip()
81
  if text:
82
  docs.append({"page_content": text, "metadata": {"source": filename}})
83
  print(f"✅ {filename} 처리 완료 (길이 {len(text)}자)")
 
76
  content = page.extract_text()
77
  if content:
78
  texts.append(content)
79
+ text = "\n".join(texts).strip()
 
80
  if text:
81
  docs.append({"page_content": text, "metadata": {"source": filename}})
82
  print(f"✅ {filename} 처리 완료 (길이 {len(text)}자)")