Spaces:
Running
on
Zero
Running
on
Zero
Update repo_utils.py
Browse files- repo_utils.py +1 -1
repo_utils.py
CHANGED
@@ -36,7 +36,7 @@ def extract_repo_content(url, hf_token, hf_user):
|
|
36 |
file_summary["name"] = file_summary["name"].replace("temp_repo/", "")
|
37 |
content = {"header": file_summary}
|
38 |
|
39 |
-
if file_type in SUPPORTED_FILE_TYPES and file_summary["size"] <=
|
40 |
try:
|
41 |
content["content"] = read_file_content(file_path)
|
42 |
except Exception as e:
|
|
|
36 |
file_summary["name"] = file_summary["name"].replace("temp_repo/", "")
|
37 |
content = {"header": file_summary}
|
38 |
|
39 |
+
if file_type in SUPPORTED_FILE_TYPES and file_summary["size"] <= 32 * 1024:
|
40 |
try:
|
41 |
content["content"] = read_file_content(file_path)
|
42 |
except Exception as e:
|