Increase the area of the notebook textbox

This commit is contained in:
oobabooga 2025-06-18 13:22:06 -07:00
parent 7cb2b1bfdb
commit 2f45d75309
2 changed files with 7 additions and 3 deletions

View file

@ -32,7 +32,7 @@ def create_ui():
with gr.Tab('Raw'):
with gr.Row():
initial_text = load_prompt(shared.settings['prompt-notebook'])
shared.gradio['textbox-notebook'] = gr.Textbox(value=initial_text, lines=27, elem_id='textbox-notebook', elem_classes=['textbox', 'add_scrollbar'])
shared.gradio['textbox-notebook'] = gr.Textbox(label="", value=initial_text, lines=27, elem_id='textbox-notebook', elem_classes=['textbox', 'add_scrollbar'])
shared.gradio['token-counter-notebook'] = gr.HTML(value="<span>0</span>", elem_id="notebook-token-counter")
with gr.Tab('Markdown'):