Upload deploy/ingest/run.py with huggingface_hub
Browse files114 unmodified lines115116117118119120121114 unmodified lineshere = os.path.dirname(os.path.abspath(__file__))for name, script, out, hours, tmo in (("gdacs", "gdacs.py", "disasters.json", 0.5, 120),("firms", "firms.py", "fires.json", 1.0, 200)):path = os.path.normpath(os.path.join(here, "..", "globe", "data", out))try:if os.path.exists(path) and (time.time() - os.path.getmtime(path)) < hours * 3600:114 unmodified lines115116117118119120121122114 unmodified lineshere = os.path.dirname(os.path.abspath(__file__))for name, script, out, hours, tmo in (("gdacs", "gdacs.py", "disasters.json", 0.5, 120),("firms", "firms.py", "fires.json", 1.0, 200),("flights", "flights.py", "flights.json", 0.34, 220)):path = os.path.normpath(os.path.join(here, "..", "globe", "data", out))try:if os.path.exists(path) and (time.time() - os.path.getmtime(path)) < hours * 3600:
deploy/ingest/run.py+2-1