Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to add text input box to sidebar? #42

Closed
589hero opened this issue Aug 26, 2021 · 1 comment
Closed

How to add text input box to sidebar? #42

589hero opened this issue Aug 26, 2021 · 1 comment
Labels
question Further information is requested

Comments

@589hero
Copy link

589hero commented Aug 26, 2021

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

@589hero 589hero added the question Further information is requested label Aug 26, 2021
@589hero
Copy link
Author

589hero commented Aug 26, 2021

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

@589hero 589hero closed this as completed Aug 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant