dvilasuero HF staff commited on
Commit
f37fa23
1 Parent(s): 13da841

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +13 -4
app.py CHANGED
@@ -23,11 +23,20 @@ demo = gr.TabbedInterface(
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,
 
23
  ["Supervised Fine-Tuning", "FAQ"],
24
  css=css,
25
  title="""
26
+ <style>
27
+ @media (max-width: 600px) {
28
+ .logo-container { position: static !important; text-align: center; margin-bottom: 20px; }
29
+ .title-container { padding-left: 0 !important; }
30
+ }
31
+ </style>
32
+ <div style="position: relative; margin-bottom: 1rem;">
33
+ <div class="logo-container" style="position: absolute; top: 0; left: 0;">
34
+ <img src="https://distilabel.argilla.io/latest/assets/distilabel-black.svg" alt="Distilabel Logo" style="width: 150px; height: auto;">
35
+ </div>
36
+ <div class="title-container" style="text-align: center; padding-top: 40px; padding-left: 160px;">
37
+ <h1 style="margin: 0; font-size: 2em;">🧶 DataCraft</h1>
38
+ <p style="margin: 10px 0 0 0; color: #666; font-size: 1.1em;">Build datasets using natural language</p>
39
  </div>
 
40
  </div>
41
  """,
42
  theme=theme,