Skip to content

Commit

Permalink
Fix typo in Exception raised by base.py (#9933)
Browse files Browse the repository at this point in the history
* Fix typo in Exception raised by base.py

* add changeset

---------

Co-authored-by: gradio-pr-bot <[email protected]>
  • Loading branch information
meg-huggingface and gradio-pr-bot authored Nov 11, 2024
1 parent c0cf80b commit 66375ac
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/ten-parks-rule.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"gradio": minor
---

feat:Fix typo in Exception raised by base.py
2 changes: 1 addition & 1 deletion gradio/components/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -448,7 +448,7 @@ def get_component_instance(
component_obj = comp
else:
raise ValueError(
f"Component must provided as a `str` or `dict` or `Component` but is {comp}"
f"Component must be provided as a `str` or `dict` or `Component` but is {comp}"
)

if render and not component_obj.is_rendered:
Expand Down

0 comments on commit 66375ac

Please sign in to comment.