iBrokeTheCode commited on
Commit
2589717
Β·
1 Parent(s): feef34c

fix: Center main heading

Browse files
Files changed (1) hide show
  1. app.py +11 -6
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.Markdown("""
46
- <div style="text-align: center;">
47
- <h1>πŸ›οΈ Multimodal Product Classification</h1>
48
- </div>
49
- <br><br>
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