halimbahae
commited on
Update app.py
Browse files
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:
|