Adding hint list[list] for example parameter (#7966)

* Adding hint list[list] for example parameter

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
This commit is contained in:
WH-Yoshi 2024-04-08 18:44:32 +02:00 committed by GitHub
parent eae97c29ce
commit bad383645e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 6 additions and 1 deletions

View File

@ -0,0 +1,5 @@
---
"gradio": patch
---
fix:Adding hint `list[list]` for example parameter

View File

@ -61,7 +61,7 @@ class ChatInterface(Blocks):
additional_inputs: str | Component | list[str | Component] | None = None,
additional_inputs_accordion_name: str | None = None,
additional_inputs_accordion: str | Accordion | None = None,
examples: list[str] | list[dict[str, str | list]] | None = None,
examples: list[str] | list[dict[str, str | list]] | list[list] | None = None,
cache_examples: bool | Literal["lazy"] | None = None,
title: str | None = None,
description: str | None = None,