update
This commit is contained in:
@@ -18,7 +18,20 @@ async function run() {
|
||||
data: sentences
|
||||
}
|
||||
});
|
||||
|
||||
console.log('Import sentence result:', res);
|
||||
}
|
||||
|
||||
await run();
|
||||
// await run();
|
||||
|
||||
async function run2() {
|
||||
const sentences = data?.sentences || [];
|
||||
const res = await app.run({
|
||||
path: 'image-creator',
|
||||
key: 'perfect-sentence',
|
||||
});
|
||||
|
||||
console.log('Import sentence result:', res);
|
||||
}
|
||||
|
||||
await run2();
|
||||
Reference in New Issue
Block a user