rameshmoorthy
commited on
Commit
•
fcbeb23
1
Parent(s):
52ecb98
Update app.py
Browse files
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({"
|
10 |
-
state.df_bert = pd.DataFrame({"
|
11 |
state = gr.State()
|
12 |
-
state.df_topics_bert = pd.DataFrame({"
|
13 |
-
state.df_topics_bm25 = pd.DataFrame({"
|
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 |
|