in src/js/MLSuggest_inference.js [35:44]
async function get_yelp_val_data() {
const response = await fetch(YELP_VAL_DATA);
if (!response.ok) {
throw new Error(`Failed to fetch data: ${response.statusText}`);
}
// Parse the JSON response
const data = await response.json();
return data.queries;
}