Skip to content

Commit 5836739

Browse files
committed
aws
1 parent 7b7f365 commit 5836739

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Diff for: samples/job_with_aws_input_sample.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ async function createJobWithAWSInput() {
3737
logger.info(`The model identifier is ${model.modelId} and the latest version is ${model.latestVersion}`);
3838

3939
// Get the model version object:
40-
// If you already know the model version and the input key(s) of the model version you can skip this step. Also, you can
40+
// If you already know the model version and the input key(s) of the model version, you can skip this step. Also, you can
4141
// use the following code block to know about the input keys and skip the call on future job submissions.
4242
let modelVersion = await modzyClient.getModelVersion(model.modelId, model.latestVersion);
4343
// The info stored in modelVersion provides insights about the amount of time that the model can spend processing, the input, and
@@ -95,6 +95,7 @@ async function createJobWithAWSInput() {
9595
// We provide a helper method to listen until the job finishes processing. It listens until the job finishes
9696
// and moves to COMPLETED, CANCELED, or TIMEOUT.
9797
job = await modzyClient.blockUntilComplete(job);
98+
9899
// Get the results:
99100
// Check the status of the job. Jobs may be canceled or may reach a timeout.
100101
if (job.status === "COMPLETED") {

0 commit comments

Comments
 (0)