Spaces:
Runtime error
Runtime error
Update model.py
Browse files258 unmodified lines259260261262263264265258 unmodified linesfile_path = os.path.join(root, file)try:layers = parse_xml_file(file_path)section_name = os.path.basename(root)sections[section_name].extend(layers)except Exception as e:print(f"Error processing {file_path}: {str(e)}")258 unmodified lines259260261262263264265258 unmodified linesfile_path = os.path.join(root, file)try:layers = parse_xml_file(file_path)section_name = os.path.basename(root).replace('.', '_') # Replace periods with underscoressections[section_name].extend(layers)except Exception as e:print(f"Error processing {file_path}: {str(e)}")
model.py+1-1