bupa1018 commited on
Commit
56b43ae
·
1 Parent(s): 740750b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -1
app.py CHANGED
@@ -165,7 +165,6 @@ def process_directory(directory, partial_paths=None, file_paths=None):
165
  with open(file_path, 'rb') as f:
166
  if file_ext in ['.rst', '.md', '.txt', '.html', '.json', '.yaml', '.py']:
167
  text = f.read().decode('utf-8')
168
- print(f"Extracted text from {file_path}:\n{text[:50]}...\n")
169
  elif file_ext in ['.svg']:
170
  text = f"SVG file content from {file_path}"
171
  elif file_ext in ['.png', '.ico']:
 
165
  with open(file_path, 'rb') as f:
166
  if file_ext in ['.rst', '.md', '.txt', '.html', '.json', '.yaml', '.py']:
167
  text = f.read().decode('utf-8')
 
168
  elif file_ext in ['.svg']:
169
  text = f"SVG file content from {file_path}"
170
  elif file_ext in ['.png', '.ico']: