han-byeol commited on
Commit
2355133
1 Parent(s): c69b33c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -38,7 +38,7 @@ def get_text_file(text_docs):
38
  return text_doc
39
 
40
 
41
- def get_csv_file(docs):
42
  temp_dir = tempfile.TemporaryDirectory()
43
  temp_filepath = os.path.join(temp_dir.name, csv_docs.name)
44
  with open(temp_filepath, "wb") as f:
@@ -47,7 +47,7 @@ def get_csv_file(docs):
47
  csv_doc = csv_loader.load()
48
  return csv_doc
49
 
50
- def get_json_file(docs):
51
  pass
52
 
53
 
 
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)
44
  with open(temp_filepath, "wb") as f:
 
47
  csv_doc = csv_loader.load()
48
  return csv_doc
49
 
50
+ def get_json_file(json_docs):
51
  pass
52
 
53