Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -63,7 +63,7 @@ def extract_repo_content(url):
|
|
63 |
file_summary = get_file_summary(file_path, file_type)
|
64 |
content = {"header": file_summary}
|
65 |
|
66 |
-
if file_type in SUPPORTED_FILE_TYPES and file_summary["size"] <=
|
67 |
try:
|
68 |
content["content"] = read_file_content(file_path)
|
69 |
except Exception as e:
|
|
|
63 |
file_summary = get_file_summary(file_path, file_type)
|
64 |
content = {"header": file_summary}
|
65 |
|
66 |
+
if file_type in SUPPORTED_FILE_TYPES and file_summary["size"] <= 256 * 1024:
|
67 |
try:
|
68 |
content["content"] = read_file_content(file_path)
|
69 |
except Exception as e:
|