refactor: Rename TextInput to TextInputComponent for consistency
This commit is contained in:
parent
2276d050fe
commit
0172a84d63
4 changed files with 6 additions and 6 deletions
|
|
@ -4,7 +4,7 @@ from langflow.inputs import MultilineInput, StrInput
|
||||||
from langflow.template import Output
|
from langflow.template import Output
|
||||||
|
|
||||||
|
|
||||||
class TextInput(TextComponent):
|
class TextInputComponent(TextComponent):
|
||||||
display_name = "Text Input"
|
display_name = "Text Input"
|
||||||
description = "Get text inputs from the Playground."
|
description = "Get text inputs from the Playground."
|
||||||
icon = "type"
|
icon = "type"
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
from .ChatInput import ChatInput
|
from .ChatInput import ChatInput
|
||||||
from .TextInput import TextInput
|
from .TextInput import TextInputComponent
|
||||||
|
|
||||||
__all__ = ["ChatInput", "TextInput"]
|
__all__ = ["ChatInput", "TextInputComponent"]
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@ from langflow.field_typing import Text
|
||||||
from langflow.template import Input, Output
|
from langflow.template import Input, Output
|
||||||
|
|
||||||
|
|
||||||
class TextOutput(TextComponent):
|
class TextOutputComponent(TextComponent):
|
||||||
display_name = "Text Output"
|
display_name = "Text Output"
|
||||||
description = "Display a text output in the Playground."
|
description = "Display a text output in the Playground."
|
||||||
icon = "type"
|
icon = "type"
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
from .ChatOutput import ChatOutput
|
from .ChatOutput import ChatOutput
|
||||||
from .TextOutput import TextOutput
|
from .TextOutput import TextOutputComponent
|
||||||
|
|
||||||
__all__ = ["ChatOutput", "TextOutput"]
|
__all__ = ["ChatOutput", "TextOutputComponent"]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue