When I run the code examples in the README, I get back replicate.helpers.FileOutput objects. I expected to get URLs.
Steps to reproduce:
pip install replicate== 1.0.2
export REPLICATE_API_TOKEN=...
python3
>>> import replicate
>>> replicate.run(
... "stability-ai/stable-diffusion:27b93a2413e7f36cd83da926f3656280b2931564ff050bf9575f1fdf9bcd7478",
... input={"prompt": "a 19th century portrait of a wombat gentleman"}
... )
[<replicate.helpers.FileOutput object at 0x1062f3e60>]
Looks like the new types were introduced in version 1.0.1.
When I run the code examples in the README, I get back
replicate.helpers.FileOutputobjects. I expected to get URLs.Steps to reproduce:
pip install replicate== 1.0.2
export REPLICATE_API_TOKEN=...
python3
Looks like the new types were introduced in version 1.0.1.