Endpoint for local captioning pipeline

This commit is contained in:
Cohee
2023-09-11 04:47:14 +03:00
parent 7aeb098212
commit f149fc9aaa
4 changed files with 255 additions and 193 deletions

View File

@ -5666,3 +5666,9 @@ import('./src/classify.mjs').then(module => {
}).catch(err => {
console.error(err);
});
// Image captioning
import('./src/caption.mjs').then(module => {
module.default.registerEndpoints(app, jsonParser);
}).catch(err => {
console.error(err);
});