hello_workcell / app.py
jiandong's picture
Upload with huggingface_hub
7dc7994
raw
history blame contribute delete
254 Bytes
from pydantic import BaseModel
class Input(BaseModel):
message: str
class Output(BaseModel):
message: str
def hello_workcell(input: Input) -> Output:
"""Returns the `message` of the input data."""
return Output(message=input.message)