kms commited on
Commit
dc0b743
ยท
1 Parent(s): 6dab898

update app

Browse files
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) + " "
49
  return text
50
 
51
  # json ํŒŒ์ผ๋กœ๋ถ€ํ„ฐ ํ…์ŠคํŠธ๋ฅผ ์ถ”์ถœํ•˜๋Š” ํ•จ์ˆ˜์ž…๋‹ˆ๋‹ค.