jsodoge commited on
Commit
ac0712c
1 Parent(s): dda5c06

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -3
app.py CHANGED
@@ -21,9 +21,13 @@ model = SentenceTransformer('all-MiniLM-L6-v2')
21
  # ... (other queries)
22
  #]
23
 
24
- queries = pd.read_excel("egu_session_descriptions.xlsx").Description
25
- titles = pd.read_excel("egu_session_descriptions.xlsx").Title
26
- ids = pd.read_excel("egu_session_descriptions.xlsx").ID
 
 
 
 
27
  ids = [int(num) for num in ids]
28
 
29
  prefix = "https://meetingorganizer.copernicus.org/EGU25/session/"
 
21
  # ... (other queries)
22
  #]
23
 
24
+ dataframe_sessions = pd.read_excel("egu_session_descriptions.xlsx")
25
+ dataframe_sessions = dataframe_sessions.dropna(subset=['ID'])
26
+
27
+
28
+ queries = dataframe_sessions.Description
29
+ titles = dataframe_sessions.Title
30
+ ids = dataframe_sessions.ID
31
  ids = [int(num) for num in ids]
32
 
33
  prefix = "https://meetingorganizer.copernicus.org/EGU25/session/"