Commit cd09db0
Update README example from
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 <[email protected]>version.predict
1 parent 73f0137 commit cd09db0
1 file changed
+6
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
230 | 230 | | |
231 | 231 | | |
232 | 232 | | |
| 233 | + | |
233 | 234 | | |
234 | 235 | | |
235 | | - | |
236 | | - | |
237 | | - | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
238 | 241 | | |
239 | 242 | | |
240 | 243 | | |
| |||
0 commit comments