Make Generate/Stop buttons smaller in notebook mode

This commit is contained in:
oobabooga 2023-03-27 12:30:57 -03:00
parent 8e2d94a5a1
commit 202e981d00

View File

@ -417,8 +417,12 @@ def create_interface():
shared.gradio['html'] = gr.HTML() shared.gradio['html'] = gr.HTML()
with gr.Row(): with gr.Row():
shared.gradio['Generate'] = gr.Button('Generate') with gr.Column():
shared.gradio['Stop'] = gr.Button('Stop') with gr.Row():
shared.gradio['Generate'] = gr.Button('Generate')
shared.gradio['Stop'] = gr.Button('Stop')
with gr.Column():
pass
with gr.Column(scale=1): with gr.Column(scale=1):
gr.Markdown("\n") gr.Markdown("\n")