ml-tooling/opyrator

How to add text input box to sidebar?

589hero opened this issue · 1 comments

Hi, I am so happy to find very useful framework.
Now text input box is always on center. But I want to add text input box to sidebar like the picture below(Picture is from an one of the examples in README).

스크린샷 2021-08-26 23 36 45

I found the solution.
You can move text input box to sidebar giving the value of the first parameter like code below.

class TextGenerationInput(BaseModel): context: str = Field( "", title="Input Context", description="Context to summary public notice.", )