rameshmoorthy commited on
Commit
f5abcc1
1 Parent(s): ed26c35

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -18,6 +18,9 @@ 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(
22
  """
23
  # Select a CSV/Excel file with column as 'products'
@@ -44,7 +47,7 @@ with gr.Blocks() as bm25:
44
  inputfile.upload(confirmation,inputs=[],outputs=out)
45
  with gr.Row():
46
 
47
- min_cluster_size=gr.Slider(1, 100, value=5, step=1,label="min_cluster_size", info="Choose minimum No. of docs in a cluster. Lower the value ,higher the clusters created")
48
 
49
  top_n_words=gr.Slider(1, 25, value=10, step=1,label="top_n_words", info="Choose no of key words for a cluster")
50
 
 
18
  with gr.Blocks() as bm25:
19
  with gr.Row():
20
  with gr.Column():
21
+ gr.Title("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'
 
47
  inputfile.upload(confirmation,inputs=[],outputs=out)
48
  with gr.Row():
49
 
50
+ min_cluster_size=gr.Slider(2, 500, value=5, step=1,label="min_cluster_size", info="Choose minimum No. of docs in a cluster. Lower the value ,higher the clusters created")
51
 
52
  top_n_words=gr.Slider(1, 25, value=10, step=1,label="top_n_words", info="Choose no of key words for a cluster")
53