video generation working

This commit is contained in:
Quentin Roussel
2024-08-18 14:26:06 +08:00
parent 074bcf20d7
commit abaf134c28
6 changed files with 66 additions and 9 deletions

View File

@@ -1,9 +1,14 @@
import { initImages, updateImages } from './downloader.mjs';
import { createVideo } from './video.mjs';
const IMAGE_COUNT = 5;
initImages(IMAGE_COUNT).then(() => {
console.log('Downloaded initial images successfully');
createVideo().then(() => {
console.log('Generated final images successfully');
});
});
setInterval(() => {