Update app.py
Browse files
app.py
CHANGED
@@ -24,7 +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 |
-
|
28 |
print("Number of rows in filtered_sessions:", len(dataframe_sessions))
|
29 |
|
30 |
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 |
+
dataframe_sessions = dataframe_sessions.reset_index(drop=True)
|
28 |
print("Number of rows in filtered_sessions:", len(dataframe_sessions))
|
29 |
|
30 |
queries = dataframe_sessions.Description
|