Leire Aguirre commited on
Commit
74e248e
1 Parent(s): 14f85b1

include variants

Browse files
src/distilabel_dataset_generator/_tabbedinterface.py CHANGED
@@ -64,7 +64,7 @@ class TabbedInterface(Blocks):
64
  HTML(value=title)
65
  with gr.Row():
66
  with gr.Column(scale=1):
67
- gr.LoginButton(value="Sign in!", size="sm", scale=2)
68
  with gr.Column(scale=3):
69
  pass
70
  with Tabs():
 
64
  HTML(value=title)
65
  with gr.Row():
66
  with gr.Column(scale=1):
67
+ gr.LoginButton(value="Sign in!", variant="hf-login", size="sm", scale=2)
68
  with gr.Column(scale=3):
69
  pass
70
  with Tabs():
src/distilabel_dataset_generator/apps/eval.py CHANGED
@@ -188,7 +188,7 @@ with gr.Blocks() as app:
188
  search_type="dataset",
189
  sumbit_on_select=True,
190
  )
191
- load_btn = gr.Button("Load dataset")
192
  with gr.Column(scale=3):
193
  search_out = gr.HTML(label="Dataset Preview")
194
 
 
188
  search_type="dataset",
189
  sumbit_on_select=True,
190
  )
191
+ load_btn = gr.Button("Load dataset", variant="primary")
192
  with gr.Column(scale=3):
193
  search_out = gr.HTML(label="Dataset Preview")
194
 
src/distilabel_dataset_generator/apps/sft.py CHANGED
@@ -360,7 +360,7 @@ with gr.Blocks(css=_LOGGED_OUT_CSS) as app:
360
  label="Example descriptions",
361
  )
362
 
363
- load_btn = gr.Button("Load dataset")
364
  with gr.Column(scale=3):
365
  pass
366
 
 
360
  label="Example descriptions",
361
  )
362
 
363
+ load_btn = gr.Button("Load dataset", variant="primary")
364
  with gr.Column(scale=3):
365
  pass
366
 
src/distilabel_dataset_generator/apps/textcat.py CHANGED
@@ -368,7 +368,7 @@ with gr.Blocks(css=_LOGGED_OUT_CSS) as app:
368
  cache_examples=False,
369
  label="Example descriptions",
370
  )
371
- load_btn = gr.Button("Load dataset")
372
  with gr.Column(scale=3):
373
  pass
374
 
 
368
  cache_examples=False,
369
  label="Example descriptions",
370
  )
371
+ load_btn = gr.Button("Load dataset", variant="primary")
372
  with gr.Column(scale=3):
373
  pass
374