Skip to content

Commit 0559c97

Browse files
committed
📝 adjust v2 sample
1 parent 5267455 commit 0559c97

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/extras/code_samples/default_v2.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ model_id = "MY_MODEL_ID"
77
# Init a new client
88
mindee_client = ClientV2(api_key)
99

10-
# Set inference paramters
10+
# Set inference parameters
1111
params = InferenceParameters(
1212
# ID of the model, required.
1313
model_id=model_id,
@@ -18,7 +18,7 @@ params = InferenceParameters(
1818
# Load a file from disk
1919
input_source = mindee_client.source_from_path(input_path)
2020

21-
# Upload the file
21+
# Send for processing
2222
response = mindee_client.enqueue_and_get_inference(
2323
input_source, params
2424
)

0 commit comments

Comments
 (0)