From f0f9c5e83e434df43819e2bcc32d8f9cc83f3d3d Mon Sep 17 00:00:00 2001 From: Brett Kuprel Date: Sun, 3 Jul 2022 12:14:24 -0400 Subject: [PATCH] update replicate predict.py --- README.md | 2 +- replicate/predict.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 0d09655..1251b14 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@   [![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 - **35 seconds** with a P100 in Colab diff --git a/replicate/predict.py b/replicate/predict.py index 652a493..bbe39d0 100644 --- a/replicate/predict.py +++ b/replicate/predict.py @@ -20,7 +20,7 @@ class Predictor(BasePredictor): grid_size: int = Input( description='Grid Size', ge=1, - le=3, + le=4, default=3 ) ) -> Path: