Commit
•
12af5c4
1
Parent(s):
f37fa23
Update app.py
Browse files
app.py
CHANGED
@@ -24,16 +24,36 @@ demo = gr.TabbedInterface(
|
|
24 |
css=css,
|
25 |
title="""
|
26 |
<style>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
27 |
@media (max-width: 600px) {
|
28 |
-
.
|
29 |
-
|
|
|
|
|
|
|
|
|
|
|
30 |
}
|
31 |
</style>
|
32 |
-
<div
|
33 |
-
<div class="logo-container"
|
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"
|
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>
|
|
|
24 |
css=css,
|
25 |
title="""
|
26 |
<style>
|
27 |
+
.header-container {
|
28 |
+
display: flex;
|
29 |
+
align-items: center;
|
30 |
+
justify-content: center;
|
31 |
+
position: relative;
|
32 |
+
padding: 20px 0;
|
33 |
+
}
|
34 |
+
.logo-container {
|
35 |
+
position: absolute;
|
36 |
+
left: 0;
|
37 |
+
top: 0;
|
38 |
+
}
|
39 |
+
.title-container {
|
40 |
+
text-align: center;
|
41 |
+
}
|
42 |
@media (max-width: 600px) {
|
43 |
+
.header-container {
|
44 |
+
flex-direction: column;
|
45 |
+
}
|
46 |
+
.logo-container {
|
47 |
+
position: static;
|
48 |
+
margin-bottom: 20px;
|
49 |
+
}
|
50 |
}
|
51 |
</style>
|
52 |
+
<div class="header-container">
|
53 |
+
<div class="logo-container">
|
54 |
<img src="https://distilabel.argilla.io/latest/assets/distilabel-black.svg" alt="Distilabel Logo" style="width: 150px; height: auto;">
|
55 |
</div>
|
56 |
+
<div class="title-container">
|
57 |
<h1 style="margin: 0; font-size: 2em;">🧶 DataCraft</h1>
|
58 |
<p style="margin: 10px 0 0 0; color: #666; font-size: 1.1em;">Build datasets using natural language</p>
|
59 |
</div>
|