SergeyO7 commited on
Commit
ccaf0a7
·
verified ·
1 Parent(s): b2710b4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -117,7 +117,7 @@ def get_moon_info(date_time: str) -> dict:
117
  user_time = pytz.utc.localize(user_time)
118
 
119
  # Load ephemeris and timescale
120
- planets = load('de421.bsp')
121
  ts = load.timescale()
122
  t = ts.from_datetime(user_time)
123
 
 
117
  user_time = pytz.utc.localize(user_time)
118
 
119
  # Load ephemeris and timescale
120
+ planets = load('https://naif.jpl.nasa.gov/pub/naif/generic_kernels/spk/planets/a_old_versions/de421.bsp')
121
  ts = load.timescale()
122
  t = ts.from_datetime(user_time)
123