gradio
34760e50 - docs: Clarify that inputs use set syntax to receive dict in function (#12619)

Commit
111 days ago
docs: Clarify that inputs use set syntax to receive dict in function (#12619) The documentation section "Function Input List vs Dict" was confusing because it described the input syntax as passing a "set" but called the section "List vs Dict". The actual behavior is: - inputs=[a, b] (list) → function receives separate arguments - inputs={a, b} (set) → function receives a dictionary Updated the section title to "Function Input List vs Set" and clarified that when you pass a set, the function receives a dictionary. Also updated the Chinese translation. Fixes #11176
Parents
Loading