Project_MLops / src /app /static /js /func_fetch.js
QuanTH02's picture
feat: dir structure
e964b12
raw
history blame contribute delete
307 Bytes
async function fetch_csv() {
try {
const response = await fetch('../static/final_merged.csv');
const csvData = await response.text();
return csvData;
} catch (error) {
console.error('Failed to load data.csv', error);
throw error;
}
}
export { fetch_csv }