Skip to content

Commit 3b9910d

Browse files
committed
fix the code
1 parent 05506e0 commit 3b9910d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/source/user_guide/model_registration/frameworks/huggingfacemodel.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ Example
206206
)
207207
208208
## Initiate a HuggingFacePipelineModel instance
209-
zero_shot_image_classification_model = HuggingFacePipelineModel(classifier, artifact_dir=empfile.mkdtemp())
209+
zero_shot_image_classification_model = HuggingFacePipelineModel(classifier, artifact_dir=tempfile.mkdtemp())
210210
211211
# Autogenerate score.py, serialized model, runtime.yaml
212212
conda_pack_path = "oci://bucket@namespace/path/to/conda/pack"

0 commit comments

Comments
 (0)