halimbahae commited on
Commit
11c6755
·
verified ·
1 Parent(s): 31e3f8a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -37,7 +37,9 @@ def main():
37
  st.write(f"Current Time: {current_time_local.strftime('%d/%m/%Y %H:%M')} (Africa/Casablanca)")
38
 
39
  # Find conferences happening now
40
- conferences_now = data[(data['StartTime'] <= current_time_utc) & (data['EndTime'] >= current_time_utc)]
 
 
41
 
42
  st.markdown("# Happening Now 👇")
43
  if not conferences_now.empty:
 
37
  st.write(f"Current Time: {current_time_local.strftime('%d/%m/%Y %H:%M')} (Africa/Casablanca)")
38
 
39
  # Find conferences happening now
40
+ # conferences_now = data[(data['StartTime'] <= current_time_utc) & (data['EndTime'] >= current_time_utc)]
41
+ conferences_now = data[(data['StartTime'] >= current_time_utc) & (data['EndTime'] <= current_time_utc)]
42
+
43
 
44
  st.markdown("# Happening Now 👇")
45
  if not conferences_now.empty: