DDingcheol commited on
Commit
1ddf59a
·
1 Parent(s): 102e4d4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -40,7 +40,7 @@ def get_text_file(txt_docs):
40
  def get_csv_file(csv_docs):
41
  temp_dir = tempfile.TemporaryDirectory()
42
  temp_filepath = os.path.join(temp_dir.name, csv_docs.name)
43
- with open(temp_pilepath, "wb") as f:
44
  f,write(csv_docs.getvelue())
45
  csv_loader = CSVLoader(temp_filepath)
46
  csv_doc = csv_loader.load()
 
40
  def get_csv_file(csv_docs):
41
  temp_dir = tempfile.TemporaryDirectory()
42
  temp_filepath = os.path.join(temp_dir.name, csv_docs.name)
43
+ with open(temp_filepath, "wb") as f:
44
  f,write(csv_docs.getvelue())
45
  csv_loader = CSVLoader(temp_filepath)
46
  csv_doc = csv_loader.load()