Commit
Β·
2589717
1
Parent(s):
feef34c
fix: Center main heading
Browse files
app.py
CHANGED
|
@@ -19,6 +19,10 @@ css_code = """
|
|
| 19 |
.gradio-container {
|
| 20 |
padding-bottom: 70px !important;
|
| 21 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
| 22 |
"""
|
| 23 |
|
| 24 |
|
|
@@ -42,12 +46,13 @@ with gr.Blocks(
|
|
| 42 |
with gr.Tabs():
|
| 43 |
# π APP TAB
|
| 44 |
with gr.TabItem("π App"):
|
| 45 |
-
gr.
|
| 46 |
-
|
| 47 |
-
<
|
| 48 |
-
|
| 49 |
-
|
| 50 |
-
|
|
|
|
| 51 |
|
| 52 |
with gr.Row(equal_height=True):
|
| 53 |
# π CLASSIFICATION INPUTS COLUMN
|
|
|
|
| 19 |
.gradio-container {
|
| 20 |
padding-bottom: 70px !important;
|
| 21 |
}
|
| 22 |
+
|
| 23 |
+
.center {
|
| 24 |
+
text-align: center;
|
| 25 |
+
}
|
| 26 |
"""
|
| 27 |
|
| 28 |
|
|
|
|
| 46 |
with gr.Tabs():
|
| 47 |
# π APP TAB
|
| 48 |
with gr.TabItem("π App"):
|
| 49 |
+
with gr.Row(elem_classes="center"):
|
| 50 |
+
gr.HTML("""
|
| 51 |
+
<div>
|
| 52 |
+
<h1>ποΈ Multimodal Product Classification</h1>
|
| 53 |
+
</div>
|
| 54 |
+
<br><br>
|
| 55 |
+
""")
|
| 56 |
|
| 57 |
with gr.Row(equal_height=True):
|
| 58 |
# π CLASSIFICATION INPUTS COLUMN
|