Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -47,7 +47,7 @@ def get_csv_file(csv_file):
|
|
| 47 |
csv_data = csv_loader.load()
|
| 48 |
|
| 49 |
# CSV 데이터 전체를 하나의 텍스트로 변환합니다.
|
| 50 |
-
text_from_csv = '\n'.join(','.join(row) for row in csv_data)
|
| 51 |
return text_from_csv
|
| 52 |
|
| 53 |
|
|
|
|
| 47 |
csv_data = csv_loader.load()
|
| 48 |
|
| 49 |
# CSV 데이터 전체를 하나의 텍스트로 변환합니다.
|
| 50 |
+
text_from_csv = '\n'.join(','.join(str(cell) for cell in row) for row in csv_data)
|
| 51 |
return text_from_csv
|
| 52 |
|
| 53 |
|