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

@ -416,9 +416,13 @@ def create_interface():
with gr.Tab('HTML'): with gr.Tab('HTML'):
shared.gradio['html'] = gr.HTML() shared.gradio['html'] = gr.HTML()
with gr.Row():
with gr.Column():
with gr.Row(): with gr.Row():
shared.gradio['Generate'] = gr.Button('Generate') shared.gradio['Generate'] = gr.Button('Generate')
shared.gradio['Stop'] = gr.Button('Stop') 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")