Skip to content

Commit a47f276

Browse files
committed
Update README
Signed-off-by: Mattt Zmuda <[email protected]>
1 parent f876558 commit a47f276

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ from replicate.exceptions import ModelError
9393
try:
9494
output = replicate.run("stability-ai/stable-diffusion-3", { "prompt": "An astronaut riding a rainbow unicorn" })
9595
except ModelError as e
96-
if "(some known issue)" in e.logs:
96+
if "(some known issue)" in e.prediction.logs:
9797
pass
9898

9999
print("Failed prediction: " + e.prediction.id)

0 commit comments

Comments
 (0)