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

Update README example from version.predict #223

Merged
merged 1 commit into from
Jan 4, 2024

Conversation

GothReigen
Copy link
Contributor

Context (#137):

Model.predict was removed in #71. It points users to Version.predict, but that method was deprecated in favor of replicate.run in #79.

Trying the example in the current iteration of replicate/replicate-python would return the following exception:

discord.ext.commands.errors.CommandInvokeError: Command raised an exception: AttributeError: 'Version' object has no attribute 'predict'

Context:

> Model.predict was removed in #71. It points users to Version.predict, but that method was deprecated in favor of replicate.run in #79.

#137

Trying the example in the current iteration of `replicate/replicate-python` would return the following exception:

```python
discord.ext.commands.errors.CommandInvokeError: Command raised an exception: AttributeError: 'Version' object has no attribute 'predict'
```

Signed-off-by: Michael Lee <michaellee@Michaels-MacBook-Pro.local>
@GothReigen GothReigen force-pushed the update-README-deprecated-example branch from 7ea42f0 to a274322 Compare January 3, 2024 21:28
Copy link
Member

@zeke zeke left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me 👍🏼

@zeke zeke merged commit cd09db0 into main Jan 4, 2024
8 checks passed
@zeke zeke deleted the update-README-deprecated-example branch January 4, 2024 05:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants