Spaces:
Running
Running
Commit
•
2e449ff
1
Parent(s):
4db5506
fix css signin button
Browse files
src/synthetic_dataset_generator/_tabbedinterface.py
CHANGED
@@ -62,7 +62,7 @@ class TabbedInterface(Blocks):
|
|
62 |
h3 = "<div style='text-align: center;'><h2>Build datasets using natural language</h2></div>"
|
63 |
if title:
|
64 |
gr.HTML(value=title + h3)
|
65 |
-
gr.LoginButton(value="Sign in", variant="primary",
|
66 |
with Tabs():
|
67 |
for interface, tab_name in zip(interface_list, tab_names, strict=False):
|
68 |
with Tab(label=tab_name):
|
|
|
62 |
h3 = "<div style='text-align: center;'><h2>Build datasets using natural language</h2></div>"
|
63 |
if title:
|
64 |
gr.HTML(value=title + h3)
|
65 |
+
gr.LoginButton(value="Sign in", variant="primary", elem_id="sign_in_button")
|
66 |
with Tabs():
|
67 |
for interface, tab_name in zip(interface_list, tab_names, strict=False):
|
68 |
with Tab(label=tab_name):
|
src/synthetic_dataset_generator/app.py
CHANGED
@@ -14,6 +14,7 @@ button[role="tab"][aria-selected="true"]:hover {border-color: var(--button-prima
|
|
14 |
.gallery-item {background: var(--background-fill-secondary); text-align: left}
|
15 |
#system_prompt_examples { color: var(--body-text-color) !important; background-color: var(--block-background-fill) !important;}
|
16 |
.container {padding-inline: 0 !important}
|
|
|
17 |
"""
|
18 |
|
19 |
image = """<br><img src="https://raw.githubusercontent.com/argilla-io/synthetic-data-generator/main/assets/logo.svg" alt="Synthetic Data Generator Logo" style="display: block; margin-left: auto; margin-right: auto; width: clamp(50%, 400px, 100%)"/>"""
|
|
|
14 |
.gallery-item {background: var(--background-fill-secondary); text-align: left}
|
15 |
#system_prompt_examples { color: var(--body-text-color) !important; background-color: var(--block-background-fill) !important;}
|
16 |
.container {padding-inline: 0 !important}
|
17 |
+
#sign_in_button { flex-grow: 0; width: 50% !important; display: flex; align-items: center; justify-content: center; margin: 0 auto; }
|
18 |
"""
|
19 |
|
20 |
image = """<br><img src="https://raw.githubusercontent.com/argilla-io/synthetic-data-generator/main/assets/logo.svg" alt="Synthetic Data Generator Logo" style="display: block; margin-left: auto; margin-right: auto; width: clamp(50%, 400px, 100%)"/>"""
|