Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -22,7 +22,7 @@ async def upload_file(file: UploadFile = File(...)):
|
|
| 22 |
f.write(contents)
|
| 23 |
|
| 24 |
# analyze_kakao_upload_file์ด ๋น๋๊ธฐ ํจ์๋ผ๋ฉด await ํ์
|
| 25 |
-
results_df = await analyze_kakao_csv(file
|
| 26 |
|
| 27 |
if results_df is None:
|
| 28 |
return {"error": "CSV ํ์ผ์ ์ฝ์ ์ ์์ต๋๋ค."}
|
|
|
|
| 22 |
f.write(contents)
|
| 23 |
|
| 24 |
# analyze_kakao_upload_file์ด ๋น๋๊ธฐ ํจ์๋ผ๋ฉด await ํ์
|
| 25 |
+
results_df = await analyze_kakao_csv(file)
|
| 26 |
|
| 27 |
if results_df is None:
|
| 28 |
return {"error": "CSV ํ์ผ์ ์ฝ์ ์ ์์ต๋๋ค."}
|