Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Model imports in docs #2907

Merged
merged 1 commit into from
Aug 6, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
The most common use-case for a Model is to associate it with a pipeline.

<pre class="language-python"><code class="lang-python"><strong>from zenml import pipeline
</strong>from zenml.model.model import Model
</strong>from zenml import Model

<strong>@pipeline(
</strong><strong> model=Model(
Expand All @@ -21,7 +21,7 @@ In case you want to attach the pipeline to an existing model version, specify th

```python
from zenml import pipeline
from zenml.model.model import Model
from zenml import Model
from zenml.enums import ModelStages

@pipeline(
Expand Down
Loading