mirror of
https://github.com/gradio-app/gradio.git
synced 2024-11-27 01:40:20 +08:00
Fix example gallery mode (#3090)
* Fix example gallery mode * CHANGELOG
This commit is contained in:
parent
42ad0cbe45
commit
792289cdf7
@ -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:
|
||||
|
@ -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>>;
|
||||
|
Loading…
Reference in New Issue
Block a user