danicafisher commited on
Commit
d056c3f
1 Parent(s): 15b53b5

Update helper_functions.py

Browse files
Files changed (1) hide show
  1. helper_functions.py +1 -1
helper_functions.py CHANGED
@@ -9,7 +9,7 @@ def process_file(file_or_url):
9
  docs = loader.load()
10
  documents.extend(docs)
11
  # save the file temporarily
12
- temp_file = "./temp/"+file_or_url.path
13
  with open(temp_file, "wb") as file:
14
  file.write(file_or_url.content)
15
  file_name = file_or_url.name
 
9
  docs = loader.load()
10
  documents.extend(docs)
11
  # save the file temporarily
12
+ temp_file = "./"+file_or_url.path
13
  with open(temp_file, "wb") as file:
14
  file.write(file_or_url.content)
15
  file_name = file_or_url.name