From 202e981d00755e45850e3f428e24dc9e8be75b0c Mon Sep 17 00:00:00 2001 From: oobabooga <112222186+oobabooga@users.noreply.github.com> Date: Mon, 27 Mar 2023 12:30:57 -0300 Subject: [PATCH] Make Generate/Stop buttons smaller in notebook mode --- server.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/server.py b/server.py index b789ab16..27525e43 100644 --- a/server.py +++ b/server.py @@ -417,8 +417,12 @@ def create_interface(): shared.gradio['html'] = gr.HTML() with gr.Row(): - shared.gradio['Generate'] = gr.Button('Generate') - shared.gradio['Stop'] = gr.Button('Stop') + with gr.Column(): + with gr.Row(): + shared.gradio['Generate'] = gr.Button('Generate') + shared.gradio['Stop'] = gr.Button('Stop') + with gr.Column(): + pass with gr.Column(scale=1): gr.Markdown("\n")