jsodoge commited on
Commit
56c0029
·
verified ·
1 Parent(s): 2544159

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -24,6 +24,7 @@ model = SentenceTransformer('all-MiniLM-L6-v2')
24
  dataframe_sessions = pd.read_excel("egu_session_descriptions.xlsx")
25
  dataframe_sessions = dataframe_sessions.dropna(subset=['ID'])
26
  dataframe_sessions = dataframe_sessions[dataframe_sessions['Abstract'] == 1]
 
27
  print("Number of rows in filtered_sessions:", len(dataframe_sessions))
28
 
29
  queries = dataframe_sessions.Description
 
24
  dataframe_sessions = pd.read_excel("egu_session_descriptions.xlsx")
25
  dataframe_sessions = dataframe_sessions.dropna(subset=['ID'])
26
  dataframe_sessions = dataframe_sessions[dataframe_sessions['Abstract'] == 1]
27
+ filtered_sessions = filtered_sessions.reset_index(drop=True)
28
  print("Number of rows in filtered_sessions:", len(dataframe_sessions))
29
 
30
  queries = dataframe_sessions.Description