JinHyeong99 commited on
Commit
d93220e
Β·
1 Parent(s): efc8b7d
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -37,6 +37,7 @@ def get_text_file(text_docs):
37
  text_doc = text_loader.load()
38
  return text_doc
39
 
 
40
  def get_csv_file(csv_docs):
41
  temp_dir = tempfile.TemporaryDirectory() # μž„μ‹œ 디렉토리λ₯Ό μƒμ„±ν•©λ‹ˆλ‹€.
42
  temp_filepath = os.path.join(temp_dir.name, csv_docs.name) # μž„μ‹œ 파일 경둜λ₯Ό μƒμ„±ν•©λ‹ˆλ‹€.
 
37
  text_doc = text_loader.load()
38
  return text_doc
39
 
40
+
41
  def get_csv_file(csv_docs):
42
  temp_dir = tempfile.TemporaryDirectory() # μž„μ‹œ 디렉토리λ₯Ό μƒμ„±ν•©λ‹ˆλ‹€.
43
  temp_filepath = os.path.join(temp_dir.name, csv_docs.name) # μž„μ‹œ 파일 경둜λ₯Ό μƒμ„±ν•©λ‹ˆλ‹€.