Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -678,7 +678,7 @@ def handle_build_space_button(hf_api_key_ui, ui_space_name_part, ui_owner_name_p
|
|
678 |
})
|
679 |
|
680 |
for f_info in parsed_from_md_for_build.get("files", []):
|
681 |
-
if f_info.get("path") and f_info["path"] != "File Structure (original)"
|
682 |
is_binary_repr = isinstance(f_info.get("content"), str) and (f_info["content"].startswith("[Binary file") or f_info["content"].startswith("[Error loading content:") or f_info["content"].startswith("[Binary or Skipped file]"))
|
683 |
parsed_code_blocks_state_cache.append({
|
684 |
"filename": f_info["path"],
|
|
|
678 |
})
|
679 |
|
680 |
for f_info in parsed_from_md_for_build.get("files", []):
|
681 |
+
if f_info.get("path") and f_info["path"] != "File Structure (original)":
|
682 |
is_binary_repr = isinstance(f_info.get("content"), str) and (f_info["content"].startswith("[Binary file") or f_info["content"].startswith("[Error loading content:") or f_info["content"].startswith("[Binary or Skipped file]"))
|
683 |
parsed_code_blocks_state_cache.append({
|
684 |
"filename": f_info["path"],
|