rameshmoorthy commited on
Commit
d62b82e
1 Parent(s): 2649612

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -11,8 +11,8 @@ from functions import process_file_bm25 , process_file_bert , generate_plot , ge
11
 
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
- df_bm25=gr.State(value=pd.DataFrame({"column1": [1, 2, 3], "column2": ["A", "B", "C"]}))
15
- df_topics_bm25 = gr.State(value=pd.DataFrame({"column1": [1, 2, 3], "column2": ["A", "B", "C"]}))
16
 
17
 
18
  with gr.Blocks() as bm25:
 
11
 
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
+ df_bm25=gr.State(value=pd.DataFrame({"Products": [1, 2, 3], "column2": ["A", "B", "C"]}))
15
+ df_topics_bm25 = gr.State(value=pd.DataFrame({"Topic": [1, 2, 3], "column2": ["A", "B", "C"]}))
16
 
17
 
18
  with gr.Blocks() as bm25: