update replicate predict.py

This commit is contained in:
Brett Kuprel 2022-07-03 12:14:24 -04:00
parent 8d808599d3
commit f0f9c5e83e
2 changed files with 2 additions and 2 deletions

2
README.md vendored
View File

@ -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

View File

@ -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: