Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -44,7 +44,8 @@ ZODIAC_SIGNS = [
|
|
44 |
("Libra", 180, 210),
|
45 |
("Scorpio", 210, 240),
|
46 |
("Sagittarius", 240, 270),
|
47 |
-
("Capricorn", 270, 300
|
|
|
48 |
("Aquarius"
|
49 |
, 300, 330),
|
50 |
("Pisces", 330, 360),
|
@@ -193,8 +194,7 @@ def get_moon_info(date_time: str) -> dict:
|
|
193 |
# Determine Zodiac sign and position
|
194 |
zodiac_sign = "Unknown"
|
195 |
position_degrees = 0
|
196 |
-
for sign, start
|
197 |
-
, end in ZODIAC_SIGNS:
|
198 |
if start <= lon_deg < end:
|
199 |
zodiac_sign = sign
|
200 |
position_degrees = lon_deg - start
|
|
|
44 |
("Libra", 180, 210),
|
45 |
("Scorpio", 210, 240),
|
46 |
("Sagittarius", 240, 270),
|
47 |
+
("Capricorn", 270, 300
|
48 |
+
),
|
49 |
("Aquarius"
|
50 |
, 300, 330),
|
51 |
("Pisces", 330, 360),
|
|
|
194 |
# Determine Zodiac sign and position
|
195 |
zodiac_sign = "Unknown"
|
196 |
position_degrees = 0
|
197 |
+
for sign, start, end in ZODIAC_SIGNS:
|
|
|
198 |
if start <= lon_deg < end:
|
199 |
zodiac_sign = sign
|
200 |
position_degrees = lon_deg - start
|