Spaces:
Sleeping
Sleeping
kms
commited on
Commit
ยท
0f584c9
1
Parent(s):
dc0b743
new
Browse files
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 ํ์ผ๋ก๋ถํฐ ํ
์คํธ๋ฅผ ์ถ์ถํ๋ ํจ์์
๋๋ค.
|