Update app.py
Browse files
app.py
CHANGED
|
@@ -36,7 +36,7 @@ def get_text_file(text_docs):
|
|
| 36 |
print(f"text_docs type: {type(text_docs)}, content: {text_docs.getvalue()}")
|
| 37 |
|
| 38 |
# ๋ฐ์ดํธ ๋ฐ์ดํฐ๋ฅผ ์ ๋์ฝ๋ ์ด์ค์ผ์ดํ ๋ฌธ์์ด๋ก ๋ณํ
|
| 39 |
-
text_content = text_docs.getvalue().decode("utf-8"
|
| 40 |
|
| 41 |
with open(temp_filepath, "w", encoding="utf-8") as f:
|
| 42 |
f.write(text_content)
|
|
|
|
| 36 |
print(f"text_docs type: {type(text_docs)}, content: {text_docs.getvalue()}")
|
| 37 |
|
| 38 |
# ๋ฐ์ดํธ ๋ฐ์ดํฐ๋ฅผ ์ ๋์ฝ๋ ์ด์ค์ผ์ดํ ๋ฌธ์์ด๋ก ๋ณํ
|
| 39 |
+
text_content = text_docs.getvalue().decode("utf-8")
|
| 40 |
|
| 41 |
with open(temp_filepath, "w", encoding="utf-8") as f:
|
| 42 |
f.write(text_content)
|