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:
anovazzi1 2024-09-04 16:12:19 -03:00 • committed by GitHub
commit 5ad48b4212
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 15 additions and 25 deletions

View file

@ -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.",

View file

@ -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.",