dwb2023 commited on
Commit
05bd01a
·
verified ·
1 Parent(s): c700267

Update app.py

Browse files

tweak max size - decreased to 256 * 1024 bytes

Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -78,7 +78,7 @@ def extract_repo_content(url, hf_token, hf_user):
78
  file_summary = get_file_summary(file_path, file_type)
79
  content = {"header": file_summary}
80
 
81
- if file_type in SUPPORTED_FILE_TYPES and file_summary["size"] <= 256 * 1024:
82
  try:
83
  content["content"] = read_file_content(file_path)
84
  except Exception as e:
 
78
  file_summary = get_file_summary(file_path, file_type)
79
  content = {"header": file_summary}
80
 
81
+ if file_type in SUPPORTED_FILE_TYPES and file_summary["size"] <= 32 * 1024:
82
  try:
83
  content["content"] = read_file_content(file_path)
84
  except Exception as e: