rameshmoorthy commited on
Commit
c88d068
1 Parent(s): 906be22

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +14 -4
app.py CHANGED
@@ -18,10 +18,20 @@ df_topics_bm25 = gr.State(value=pd.DataFrame({"Topic": [1, 2, 3], "column2": ["A
18
  with gr.Blocks() as bm25:
19
  with gr.Row():
20
  with gr.Column():
21
- gr.Markdown("NAC Product Clustering Analysis", center=True, style={"font-size": "24px", "font-weight": "bold","color": "blue"}),
22
- gr.Markdown("This module helps to quickly cluster the products in any excel/csv file for product wise analysis for any NAC(National Assessment centre) of CBIC Indian Customs .", style={"font-size": "18px", "font-weight": "normal","color": "green"})
23
-
24
- gr.Markdown(
 
 
 
 
 
 
 
 
 
 
25
  """
26
  # Select a CSV/Excel file with column as 'products'
27
  """)
 
18
  with gr.Blocks() as bm25:
19
  with gr.Row():
20
  with gr.Column():
21
+ # gr.Markdown("NAC Product Clustering Analysis", center=True, style={"font-size": "24px", "font-weight": "bold","color": "blue"}),
22
+ # gr.Markdown("This module helps to quickly cluster the products in any excel/csv file for product wise analysis for any NAC(National Assessment centre) of CBIC Indian Customs .", style={"font-size": "18px", "font-weight": "normal","color": "green"})
23
+ try:
24
+ gr.HTML(
25
+ """
26
+ <h1 style="text-align: center; font-size: 24px; font-weight: bold; color: blue;">NAC Product Clustering Analysis</h1>
27
+ <p style="text-align: center; font-size: 18px; color: green;">This module helps to quickly cluster the products in any excel/csv file for product wise analysis for any NAC(National Assessment centre) of CBIC Indian Customs.</p>
28
+ """,
29
+ markup=True # Indicate content is HTML
30
+ )
31
+ except:
32
+ print("Warning: Styling within Markdown might not be fully supported. Consider using gr.HTML for more control.")
33
+
34
+ gr.Markdown(
35
  """
36
  # Select a CSV/Excel file with column as 'products'
37
  """)