From 58a954f7773a3a1309238eddd5fc653f7370c474 Mon Sep 17 00:00:00 2001 From: Raphael Date: Sat, 2 Jul 2022 08:38:45 -0400 Subject: [PATCH 1/2] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 922eada..dd31564 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 and torch. +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. It currently takes **7.4 seconds** to generate an image with DALL·E Mega on a standard GPU runtime in Colab. @@ -59,4 +59,4 @@ $ python image_from_text.py --text='artificial intelligence' --seed=7 ```bash $ python image_from_text.py --text='court sketch of godzilla on trial' --mega ``` -![Godzilla Trial](https://github.com/kuprel/min-dalle/raw/main/examples/godzilla_on_trial.png) \ No newline at end of file +![Godzilla Trial](https://github.com/kuprel/min-dalle/raw/main/examples/godzilla_on_trial.png) From 0d2d4a63315fbcf51adf7036ffdf163edefdee6e Mon Sep 17 00:00:00 2001 From: Raphael Date: Sat, 2 Jul 2022 08:52:05 -0400 Subject: [PATCH 2/2] Update requirements.txt Add required third-party libraries --- requirements.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/requirements.txt b/requirements.txt index 326574e..4d2dd2b 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1 +1,4 @@ min-dalle +numpy==1.23.0 +pillow==9.2.0 +requests==2.28.1