Skip to content

Commit

Permalink
Adding hint list[list] for example parameter (#7966)
Browse files Browse the repository at this point in the history
* Adding hint list[list] for example parameter

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
  • Loading branch information
WH-Yoshi and gradio-pr-bot committed Apr 8, 2024
1 parent eae97c2 commit bad3836
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/honest-spiders-visit.md
@@ -0,0 +1,5 @@
---
"gradio": patch
---

fix:Adding hint `list[list]` for example parameter
2 changes: 1 addition & 1 deletion gradio/chat_interface.py
Expand Up @@ -61,7 +61,7 @@ def __init__(
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,
Expand Down

0 comments on commit bad3836

Please sign in to comment.