Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -38,19 +38,19 @@ def get_pdf_text(pdf_docs):
|
|
38 |
# ๊ณผ์
|
39 |
# ์๋ ํ
์คํธ ์ถ์ถ ํจ์๋ฅผ ์์ฑ
|
40 |
|
41 |
-
def get_text_file(
|
42 |
text_list = []
|
43 |
for doc in docs:
|
44 |
text_list.append(get_text_from_text_file(doc))
|
45 |
return text_list
|
46 |
|
47 |
-
def get_csv_file(
|
48 |
text_list = []
|
49 |
for doc in docs:
|
50 |
text_list.append(get_text_from_csv_file(doc))
|
51 |
return text_list
|
52 |
|
53 |
-
def get_json_file(
|
54 |
text_list = []
|
55 |
for doc in docs:
|
56 |
text_list.append(get_text_from_json_file(doc))
|
|
|
38 |
# ๊ณผ์
|
39 |
# ์๋ ํ
์คํธ ์ถ์ถ ํจ์๋ฅผ ์์ฑ
|
40 |
|
41 |
+
def get_text_file(docs):
|
42 |
text_list = []
|
43 |
for doc in docs:
|
44 |
text_list.append(get_text_from_text_file(doc))
|
45 |
return text_list
|
46 |
|
47 |
+
def get_csv_file(docs):
|
48 |
text_list = []
|
49 |
for doc in docs:
|
50 |
text_list.append(get_text_from_csv_file(doc))
|
51 |
return text_list
|
52 |
|
53 |
+
def get_json_file(docs):
|
54 |
text_list = []
|
55 |
for doc in docs:
|
56 |
text_list.append(get_text_from_json_file(doc))
|