Merge the Default and Notebook tabs into a single Notebook tab (#7078)

This commit is contained in:
oobabooga 2025-06-16 13:19:29 -03:00 committed by GitHub
parent db67d69ddc
commit de24b3bb31
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 46 additions and 12 deletions

View file

@ -16,7 +16,7 @@ outputs = ('textbox-notebook', 'html-notebook')
def create_ui():
mu = shared.args.multi_user
with gr.Tab('Notebook', elem_id='notebook-tab'):
with gr.Row(visible=not shared.settings['show_two_notebook_columns']) as shared.gradio['notebook-tab']:
shared.gradio['last_input-notebook'] = gr.State('')
with gr.Row():
with gr.Column(scale=4):