kms commited on
Commit
0f584c9
ยท
1 Parent(s): dc0b743
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -43,9 +43,9 @@ def get_csv_file(csv_docs):
43
  f.write(csv_docs.getvalue())
44
  csv_loader = CSVLoader(temp_filepath)
45
  csv_docs = csv_loader.load()
46
- text = " "
47
  for row in csv_docs:
48
- text += " ".join(row) + " "
49
  return text
50
 
51
  # json ํŒŒ์ผ๋กœ๋ถ€ํ„ฐ ํ…์ŠคํŠธ๋ฅผ ์ถ”์ถœํ•˜๋Š” ํ•จ์ˆ˜์ž…๋‹ˆ๋‹ค.
 
43
  f.write(csv_docs.getvalue())
44
  csv_loader = CSVLoader(temp_filepath)
45
  csv_docs = csv_loader.load()
46
+ text = ""
47
  for row in csv_docs:
48
+ text += " ".join(row) + "\n"
49
  return text
50
 
51
  # json ํŒŒ์ผ๋กœ๋ถ€ํ„ฐ ํ…์ŠคํŠธ๋ฅผ ์ถ”์ถœํ•˜๋Š” ํ•จ์ˆ˜์ž…๋‹ˆ๋‹ค.