bupa1018 commited on
Commit
e6a3ba5
·
1 Parent(s): 95634f3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -204,11 +204,11 @@ def process_directory(directory, folder_paths, file_paths):
204
  if file_ext in ['.rst', '.py']:
205
  text = f.read().decode('utf-8')
206
 
207
- all_texts.append(text)
208
- print("Filepaths brother:", file_path)
209
- relative_path = os.path.relpath(file_path, tmpsubdirpath)
210
- print("Relative Filepaths brother:", relative_path)
211
- file_references.append(relative_path)
212
 
213
  return all_texts, file_references
214
 
 
204
  if file_ext in ['.rst', '.py']:
205
  text = f.read().decode('utf-8')
206
 
207
+ all_texts.append(text)
208
+ print("Filepaths brother:", file_path)
209
+ relative_path = os.path.relpath(file_path, tmpsubdirpath)
210
+ print("Relative Filepaths brother:", relative_path)
211
+ file_references.append(relative_path)
212
 
213
  return all_texts, file_references
214