move data folder

This commit is contained in:
ogabrielluiz 2024-06-18 00:20:12 -03:00
commit c43d62cbd2
15 changed files with 0 additions and 0 deletions

View file

@ -1,19 +0,0 @@
from langflow.custom import Component
from langflow.template.field.base import Input, Output
class MultipleOutputsComponent(Component):
inputs = [
Input(display_name="Input", name="input", field_type=str),
Input(display_name="Number", name="number", field_type=int),
]
outputs = [
Output(display_name="Certain Output", name="certain_output", method="certain_output"),
Output(display_name="Other Output", name="other_output", method="other_output"),
]
def certain_output(self) -> str:
return f"This is my string input: {self.input}"
def other_output(self) -> int:
return f"This is my int input multiplied by 2: {self.number * 2}"