Add Line Breaks

#1
by Paul2708 - opened

Hey there,

I just wanted to ask if there is a way to add new lines to the component.
Currently, \n, [lb], [br] are not working.

I appreciate any help you can provide.

Best regards,
Paul

Hi @Paul2708 unfortunately this is not something I've planned for this custom component. You might want to make your own custom component! We've made it possible for Gradio users to create their own custom components -- meaning that you can write some Python and JavaScript (Svelte), and publish it as a Gradio component. You can use it in your own Gradio apps, or share it so that anyone can use it in their Gradio apps.

All the source code for this custom component is in the Files tab at the top of the demo, feel free to copy :)

abidlabs changed discussion status to closed

Sign up or log in to comment