chore: update TextInput and TextOutput components to use MultilineInput (#3664)
chore: Update TextInput and TextOutput components to use MultilineInput instead of MessageTextInput
This commit is contained in:
parent
a670a7cb0b
commit
5ad48b4212
8 changed files with 15 additions and 25 deletions
|
|
@ -1,5 +1,5 @@
|
|||
from langflow.base.io.text import TextComponent
|
||||
from langflow.io import MessageTextInput, Output
|
||||
from langflow.io import MultilineInput, Output
|
||||
from langflow.schema.message import Message
|
||||
|
||||
|
||||
|
|
@ -10,7 +10,7 @@ class TextInputComponent(TextComponent):
|
|||
name = "TextInput"
|
||||
|
||||
inputs = [
|
||||
MessageTextInput(
|
||||
MultilineInput(
|
||||
name="input_value",
|
||||
display_name="Text",
|
||||
info="Text to be passed as input.",
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
from langflow.base.io.text import TextComponent
|
||||
from langflow.io import MessageTextInput, Output
|
||||
from langflow.io import MultilineInput, Output
|
||||
from langflow.schema.message import Message
|
||||
|
||||
|
||||
|
|
@ -10,7 +10,7 @@ class TextOutputComponent(TextComponent):
|
|||
name = "TextOutput"
|
||||
|
||||
inputs = [
|
||||
MessageTextInput(
|
||||
MultilineInput(
|
||||
name="input_value",
|
||||
display_name="Text",
|
||||
info="Text to be passed as output.",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue