dvilasuero HF staff commited on
Commit
42f9580
1 Parent(s): 8cf034e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -7
app.py CHANGED
@@ -9,9 +9,6 @@ theme = gr.themes.Monochrome(
9
  )
10
 
11
  css = """
12
- h1{font-size: 2em}
13
- h3{margin-top: 0}
14
- #component-1{text-align:center}
15
  .main_ui_logged_out{opacity: 0.3; pointer-events: none}
16
  .tabitem{border: 0px}
17
  .group_padding{padding: .55em}
@@ -21,16 +18,20 @@ h3{margin-top: 0}
21
  }
22
  """
23
 
24
-
25
  demo = gr.TabbedInterface(
26
  [sft_app, faq_app],
27
  ["Supervised Fine-Tuning", "FAQ"],
28
  css=css,
29
- title="⚗️ distilabel Dataset Generator",
30
- head="⚗️ distilabel Dataset Generator",
 
 
 
 
 
 
31
  theme=theme,
32
  )
33
 
34
-
35
  if __name__ == "__main__":
36
  demo.launch()
 
9
  )
10
 
11
  css = """
 
 
 
12
  .main_ui_logged_out{opacity: 0.3; pointer-events: none}
13
  .tabitem{border: 0px}
14
  .group_padding{padding: .55em}
 
18
  }
19
  """
20
 
 
21
  demo = gr.TabbedInterface(
22
  [sft_app, faq_app],
23
  ["Supervised Fine-Tuning", "FAQ"],
24
  css=css,
25
+ title="""
26
+ <div style="display: flex; flex-direction: column; align-items: center; margin-bottom: 1rem;">
27
+ <div style="display: flex; align-items: center; justify-content: center;">
28
+ <img src="https://distilabel.argilla.io/latest/assets/distilabel-black.svg" alt="Distilabel Logo" style="width: 200px; height: auto;">
29
+ </div>
30
+ <p style="margin: 10px 0 0 0; font-style: italic; color: #666; font-size: 1.1em;">DataCraft: Build datasets using natural language</p>
31
+ </div>
32
+ """,
33
  theme=theme,
34
  )
35
 
 
36
  if __name__ == "__main__":
37
  demo.launch()