ChartPipeline / allowed_chart_types.json.example
Ray1ee01's picture
Upload folder using huggingface_hub
439e630 verified
Raw
History Blame Contribute Delete
800 Bytes
{
"_comment": "Whitelist of chart_type names the infographics_generator is allowed to pick from.",
"_usage": [
"1) Copy this file to allowed_chart_types.json (same directory), OR",
" set ALLOWED_CHART_TYPES_FILE=<path> to point at a custom location.",
"2) Edit the 'chart_types' list below to the chart_type values you care about.",
"3) Empty list / missing file means 'no filtering' (legacy behaviour).",
"Granularity is chart_type (NOT chart_name). All chart_name variations whose",
"directory lives under the listed chart_type folder will become selectable.",
"Run `awk -F' / ' '{print $1}' template_list.txt | sort -u` to see the full set."
],
"chart_types": [
"bump chart",
"bar chart",
"line graph",
"bubble chart",
"scatterplot"
]
}