We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f876558 commit a47f276Copy full SHA for a47f276
README.md
@@ -93,7 +93,7 @@ from replicate.exceptions import ModelError
93
try:
94
output = replicate.run("stability-ai/stable-diffusion-3", { "prompt": "An astronaut riding a rainbow unicorn" })
95
except ModelError as e
96
- if "(some known issue)" in e.logs:
+ if "(some known issue)" in e.prediction.logs:
97
pass
98
99
print("Failed prediction: " + e.prediction.id)
0 commit comments