Fix example gallery mode (#3090)

* Fix example gallery mode

* CHANGELOG
This commit is contained in:
Freddy Boulton 2023-02-01 12:09:39 -05:00 committed by GitHub
parent 42ad0cbe45
commit 792289cdf7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -22,6 +22,7 @@ the front-end is properly displayed.
By [@freddyaboulton](https://github.com/freddyaboulton) in [PR 3101](https://github.com/gradio-app/gradio/pull/3101)
## Bug Fixes:
* Fix bug where examples were not rendered correctly for demos created with Blocks api that had multiple input compinents by [@freddyaboulton](https://github.com/freddyaboulton) in [PR 3090](https://github.com/gradio-app/gradio/pull/3090)
- Fix change event listener for JSON, HighlightedText, Chatbot by [@aliabid94](https://github.com/aliabid94) in [PR 3095](https://github.com/gradio-app/gradio/pull/3095)
## Documentation Changes:

View File

@ -18,7 +18,7 @@
let samples_dir: string = (root_url ?? root) + "file=";
let page = 0;
$: gallery = headers.length < 2;
$: gallery = components.length < 2;
let paginate = samples.length > samples_per_page;
let selected_samples: Array<Array<any>>;