From 4d163023caca7de37d1eb74ad6195b8c58e023e3 Mon Sep 17 00:00:00 2001 From: thiswillbeyourgithub <26625900+thiswillbeyourgithub@users.noreply.github.com> Date: Mon, 29 May 2023 21:59:09 +0200 Subject: [PATCH] typo (minor): extra newline puts the documentation of colums to grid (#4337) * typo (minor): extra newline puts the documentation of colums to grid * edited changelog * changelog --------- Co-authored-by: thiswillbeyourgithub Co-authored-by: Abubakar Abid --- gradio/components.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gradio/components.py b/gradio/components.py index 0b729b2680..b1afb2dad0 100644 --- a/gradio/components.py +++ b/gradio/components.py @@ -4493,7 +4493,8 @@ class Gallery(IOComponent, GallerySerializable, Selectable): """ This method can be used to change the appearance of the gallery component. Parameters: - grid: ('grid' has been renamed to 'columns') Represents the number of images that should be shown in one row, for each of the six standard screen sizes (<576px, <768px, <992px, <1200px, <1400px, >1400px). if fewer that 6 are given then the last will be used for all subsequent breakpoints columns: Represents the number of columns in the image grid, for each of the six standard screen sizes (<576px, <768px, <992px, <1200px, <1400px, >1400px). if fewer that 6 are given then the last will be used for all subsequent breakpoints + grid: ('grid' has been renamed to 'columns') Represents the number of images that should be shown in one row, for each of the six standard screen sizes (<576px, <768px, <992px, <1200px, <1400px, >1400px). if fewer that 6 are given then the last will be used for all subsequent breakpoints + columns: Represents the number of columns in the image grid, for each of the six standard screen sizes (<576px, <768px, <992px, <1200px, <1400px, >1400px). if fewer that 6 are given then the last will be used for all subsequent breakpoints rows: Represents the number of rows in the image grid, for each of the six standard screen sizes (<576px, <768px, <992px, <1200px, <1400px, >1400px). if fewer that 6 are given then the last will be used for all subsequent breakpoints height: Height of the gallery. container: If True, will place gallery in a container - providing some extra padding around the border.