rameshmoorthy commited on
Commit
fcbeb23
1 Parent(s): 52ecb98

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -6,11 +6,11 @@ from functions import process_file_bm25 , process_file_bert , generate_plot , ge
6
 
7
  # Create the state object
8
  state = gr.State()
9
- state.df_bm25 = pd.DataFrame({"column1": [1, 2, 3], "column2": ["A", "B", "C"]})
10
- state.df_bert = pd.DataFrame({"column1": [1, 2, 3], "column2": ["A", "B", "C"]})
11
  state = gr.State()
12
- state.df_topics_bert = pd.DataFrame({"column1": [1, 2, 3], "column2": ["A", "B", "C"]})
13
- state.df_topics_bm25 = pd.DataFrame({"column1": [1, 2, 3], "column2": ["A", "B", "C"]})
14
 
15
 
16
 
 
6
 
7
  # Create the state object
8
  state = gr.State()
9
+ state.df_bm25 = pd.DataFrame({"Products": [1, 2, 3], "column2": ["A", "B", "C"]})
10
+ state.df_bert = pd.DataFrame({"Products": [1, 2, 3], "column2": ["A", "B", "C"]})
11
  state = gr.State()
12
+ state.df_topics_bert = pd.DataFrame({"Topic": [1, 2, 3], "column2": ["A", "B", "C"]})
13
+ state.df_topics_bm25 = pd.DataFrame({"Topic": [1, 2, 3], "column2": ["A", "B", "C"]})
14
 
15
 
16