refactor: Update TextInput display name and info
Update the display name and info of the TextInput component in TextInput.py to improve clarity and consistency. The display name is changed to "Text" and the info is updated to reflect that it expects text input. This change aligns with recent updates to the langflow library and enhances the usability of the component.
This commit is contained in:
parent
8a75315249
commit
b362ab0be6
2 changed files with 14 additions and 14 deletions
|
|
@ -13,9 +13,9 @@ class TextInput(TextComponent):
|
|||
StrInput(
|
||||
name="input_value",
|
||||
type=str,
|
||||
display_name="Value",
|
||||
info="Text or Data to be passed as input.",
|
||||
input_types=["Data", "Text"],
|
||||
display_name="Text",
|
||||
info="Text to be passed as input.",
|
||||
input_types=["Text", "Message"],
|
||||
),
|
||||
StrInput(
|
||||
name="data_template",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue