GImInI commited on
Commit
7a6d3b3
1 Parent(s): 5f25c09

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -24,19 +24,19 @@ def get_pdf_text(pdf_docs):
24
 
25
  # 과제
26
  # 아래 텍스트 추출 함수를 작성
27
- def get_text_file(text_docs):
28
  text_loader = TextLoader(docs)
29
  text_doc = text_loader.load()
30
  return text_doc
31
 
32
- def get_csv_file(csv_docs):
33
  csv_loader = CSVLoader(docs)
34
  csv_doc = csv_loader.load()
35
  return csv_doc
36
 
37
 
38
 
39
- def get_json_file(json_docs):
40
  json_loader = JSONLoader(docs)
41
  json_doc = json_loader.load()
42
  return json_doc
 
24
 
25
  # 과제
26
  # 아래 텍스트 추출 함수를 작성
27
+ def get_text_file(docs):
28
  text_loader = TextLoader(docs)
29
  text_doc = text_loader.load()
30
  return text_doc
31
 
32
+ def get_csv_file(docs):
33
  csv_loader = CSVLoader(docs)
34
  csv_doc = csv_loader.load()
35
  return csv_doc
36
 
37
 
38
 
39
+ def get_json_file(docs):
40
  json_loader = JSONLoader(docs)
41
  json_doc = json_loader.load()
42
  return json_doc