Skip to content

Commit

Permalink
Update pipeline example
Browse files Browse the repository at this point in the history
  • Loading branch information
davidmezzetti committed May 4, 2021
1 parent aa1243e commit d21b005
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/node/src/pipelines.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ const run = async () => {
console.log(translation);

let workflow = new Workflow(service);
let output = await workflow.workflow("sumspanish", [text]);
let output = await workflow.workflow("sumspanish", ["file:///tmp/txtai/article.pdf"]);

console.log("\n---- Workflow [Extract Text->Summarize->Translate] ----");
console.log(output);
Expand Down

0 comments on commit d21b005

Please # to comment.