Commit ยท
4505847
1
Parent(s): 111a329
Update app.py
Browse files
app.py
CHANGED
|
@@ -24,8 +24,8 @@ def get_pdf_text(pdf_docs):
|
|
| 24 |
|
| 25 |
# ๊ณผ์
|
| 26 |
# ์๋ ํ
์คํธ ์ถ์ถ ํจ์๋ฅผ ์์ฑ
|
| 27 |
-
def get_text_file(
|
| 28 |
-
txt_content =
|
| 29 |
return txt_content
|
| 30 |
|
| 31 |
|
|
|
|
| 24 |
|
| 25 |
# ๊ณผ์
|
| 26 |
# ์๋ ํ
์คํธ ์ถ์ถ ํจ์๋ฅผ ์์ฑ
|
| 27 |
+
def get_text_file(docs):
|
| 28 |
+
txt_content = docs.read().decode("utf-8")
|
| 29 |
return txt_content
|
| 30 |
|
| 31 |
|