AmiKim commited on
Commit
34bb5f6
ยท
verified ยท
1 Parent(s): 671404d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -27,7 +27,7 @@ async def upload_file(file: UploadFile = File(...)):
27
  f.write(contents)
28
 
29
  # analyze_kakao_upload_file์ด ๋น„๋™๊ธฐ ํ•จ์ˆ˜๋ผ๋ฉด await ํ•„์š”
30
- results_df = await analyze_kakao_csv(file, model, tokenizer)
31
 
32
  if results_df is None:
33
  return {"error": "CSV ํŒŒ์ผ์„ ์ฝ์„ ์ˆ˜ ์—†์Šต๋‹ˆ๋‹ค."}
 
27
  f.write(contents)
28
 
29
  # analyze_kakao_upload_file์ด ๋น„๋™๊ธฐ ํ•จ์ˆ˜๋ผ๋ฉด await ํ•„์š”
30
+ results_df = await analyze_kakao_csv(contents, model, tokenizer)
31
 
32
  if results_df is None:
33
  return {"error": "CSV ํŒŒ์ผ์„ ์ฝ์„ ์ˆ˜ ์—†์Šต๋‹ˆ๋‹ค."}