Duplicated from pngwn/textbox-tab-bug
12345678910111213import gradio as gr str = """hellonewlinenewline""" with gr.Blocks() as demo: with gr.Tab(): gr.Textbox(value=str) with gr.Tab(): gr.Textbox(value=str) demo.launch()