Devendra174's picture
Upload folder using huggingface_hub
1e92f2d verified
export const timestamp = (label) => {
if (!process.env.PAYLOAD_TIME)
process.env.PAYLOAD_TIME = String(new Date().getTime());
const now = new Date();
console.log(
`[${now.getTime() - Number(process.env.PAYLOAD_TIME)}ms] ${label}`,
);
};