Spaces:
Build error
Build error
| # Run from root dir | |
| nbdev_readme | |
| yaml_file="hface.yaml" | |
| readme_file="README.md" | |
| # Read the content of the YAML file | |
| yaml_content=$(cat "$yaml_file") | |
| # Read the content of the README file | |
| readme_content=$(cat "$readme_file") | |
| # Combine the YAML content and README content | |
| combined_content="$yaml_content\n$readme_content" | |
| # Overwrite the README file with the combined content | |
| echo -e "$combined_content" > "$readme_file" | |