Commit
•
ce95000
1
Parent(s):
9de802b
Update src/distilabel_dataset_generator/apps/sft.py
Browse files
src/distilabel_dataset_generator/apps/sft.py
CHANGED
@@ -158,12 +158,13 @@ with gr.Blocks(
|
|
158 |
css=css,
|
159 |
) as app:
|
160 |
with gr.Row():
|
161 |
-
|
162 |
-
|
163 |
-
|
164 |
-
|
165 |
-
|
166 |
-
|
|
|
167 |
|
168 |
gr.Markdown("## Iterate on a sample dataset")
|
169 |
with gr.Column() as main_ui:
|
@@ -344,4 +345,4 @@ with gr.Blocks(
|
|
344 |
)
|
345 |
app.load(get_token, outputs=[oauth_token])
|
346 |
app.load(get_org_dropdown, outputs=[org_name])
|
347 |
-
app.load(fn=swap_visibilty, outputs=main_ui)
|
|
|
158 |
css=css,
|
159 |
) as app:
|
160 |
with gr.Row():
|
161 |
+
gr.Markdown(
|
162 |
+
"To push the dataset to the Hugging Face Hub you need to sign in. This will only be used for pushing the dataset not for data generation."
|
163 |
+
)
|
164 |
+
with gr.Row():
|
165 |
+
gr.Column(scale=0.5)
|
166 |
+
get_login_button()
|
167 |
+
gr.Column(scale=0.5)
|
168 |
|
169 |
gr.Markdown("## Iterate on a sample dataset")
|
170 |
with gr.Column() as main_ui:
|
|
|
345 |
)
|
346 |
app.load(get_token, outputs=[oauth_token])
|
347 |
app.load(get_org_dropdown, outputs=[org_name])
|
348 |
+
app.load(fn=swap_visibilty, outputs=main_ui)
|