update replicate predict.py
This commit is contained in:
parent
8d808599d3
commit
f0f9c5e83e
2
README.md
vendored
2
README.md
vendored
|
@ -6,7 +6,7 @@
|
||||||
|
|
||||||
[![Join us on Discord](https://img.shields.io/discord/823813159592001537?color=5865F2&logo=discord&logoColor=white)](https://discord.gg/xBPBXfcFHd)
|
[![Join us on Discord](https://img.shields.io/discord/823813159592001537?color=5865F2&logo=discord&logoColor=white)](https://discord.gg/xBPBXfcFHd)
|
||||||
|
|
||||||
This is a minimal implementation of Boris Dayma's [DALL·E Mini](https://github.com/borisdayma/dalle-mini) in PyTorch. It has been stripped to the bare essentials necessary for doing inference. The only third party dependencies are numpy, requests, pillow and torch.
|
This is a fast, minimal implementation of Boris Dayma's [DALL·E Mini](https://github.com/borisdayma/dalle-mini) in PyTorch. It has been stripped to the bare essentials necessary for doing inference. The only third party dependencies are numpy, requests, pillow and torch.
|
||||||
|
|
||||||
To generate a 3x3 grid of DALL·E Mega images it takes
|
To generate a 3x3 grid of DALL·E Mega images it takes
|
||||||
- **35 seconds** with a P100 in Colab
|
- **35 seconds** with a P100 in Colab
|
||||||
|
|
|
@ -20,7 +20,7 @@ class Predictor(BasePredictor):
|
||||||
grid_size: int = Input(
|
grid_size: int = Input(
|
||||||
description='Grid Size',
|
description='Grid Size',
|
||||||
ge=1,
|
ge=1,
|
||||||
le=3,
|
le=4,
|
||||||
default=3
|
default=3
|
||||||
)
|
)
|
||||||
) -> Path:
|
) -> Path:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user