move sign in button to another column
Browse files
app.py
CHANGED
@@ -59,7 +59,6 @@ demo = TabbedInterface(
|
|
59 |
css=css,
|
60 |
title="""
|
61 |
<h1>Synthetic Data Generator</h1>
|
62 |
-
<h3>Build datasets using natural language</h3>
|
63 |
""",
|
64 |
head="Synthetic Data Generator",
|
65 |
theme=theme,
|
|
|
59 |
css=css,
|
60 |
title="""
|
61 |
<h1>Synthetic Data Generator</h1>
|
|
|
62 |
""",
|
63 |
head="Synthetic Data Generator",
|
64 |
theme=theme,
|
src/distilabel_dataset_generator/_tabbedinterface.py
CHANGED
@@ -63,9 +63,11 @@ class TabbedInterface(Blocks):
|
|
63 |
if title:
|
64 |
HTML(value=title)
|
65 |
with gr.Row():
|
66 |
-
with gr.Column(scale=
|
|
|
|
|
67 |
gr.LoginButton(value="Sign in!", size="sm", scale=2)
|
68 |
-
with gr.Column(scale=
|
69 |
pass
|
70 |
with Tabs():
|
71 |
for interface, tab_name in zip(interface_list, tab_names, strict=False):
|
|
|
63 |
if title:
|
64 |
HTML(value=title)
|
65 |
with gr.Row():
|
66 |
+
with gr.Column(scale=2):
|
67 |
+
gr.Markdown("### Build datasets using natural language")
|
68 |
+
with gr.Column(scale=2):
|
69 |
gr.LoginButton(value="Sign in!", size="sm", scale=2)
|
70 |
+
with gr.Column(scale=1):
|
71 |
pass
|
72 |
with Tabs():
|
73 |
for interface, tab_name in zip(interface_list, tab_names, strict=False):
|