seawolf2357 commited on
Commit
79694b5
·
verified ·
1 Parent(s): cd6f220

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -55,10 +55,10 @@ def is_recent_news(time_str):
55
 
56
  time_str = time_str.lower().strip()
57
 
58
- if "1 day ago" in time_str:
59
  return True
60
 
61
- if "hours ago" in time_str:
62
  return True
63
 
64
  return False
 
55
 
56
  time_str = time_str.lower().strip()
57
 
58
+ if "1 day ago " in time_str:
59
  return True
60
 
61
+ if "hours ago " in time_str:
62
  return True
63
 
64
  return False