Spaces:
Sleeping
Sleeping
Sudip Datta
commited on
Commit
·
07f2b3c
1
Parent(s):
02648a2
return location
Browse files- tools/star_in_my_sky.py +3 -1
tools/star_in_my_sky.py
CHANGED
|
@@ -14,6 +14,8 @@ class StarInMySkyTool(Tool):
|
|
| 14 |
name = "star_in_my_sky"
|
| 15 |
description = (
|
| 16 |
"Checks if a star is currently visible in the sky at a given location."
|
|
|
|
|
|
|
| 17 |
"This tool expects two arguments: the name of the star and the location in English."
|
| 18 |
)
|
| 19 |
inputs = {
|
|
@@ -92,5 +94,5 @@ Altitude: {alt.degrees:.2f}°, Azimuth: {az.degrees:.2f}°
|
|
| 92 |
|
| 93 |
|
| 94 |
if __name__ == "__main__":
|
| 95 |
-
# Example: London
|
| 96 |
get_star_visibility("Sirius", "London, UK")
|
|
|
|
| 14 |
name = "star_in_my_sky"
|
| 15 |
description = (
|
| 16 |
"Checks if a star is currently visible in the sky at a given location."
|
| 17 |
+
"If the star is visible, it returns the location - altitude and azimuth."
|
| 18 |
+
"If the star is not visible, it just says the star is below the horizon."
|
| 19 |
"This tool expects two arguments: the name of the star and the location in English."
|
| 20 |
)
|
| 21 |
inputs = {
|
|
|
|
| 94 |
|
| 95 |
|
| 96 |
if __name__ == "__main__":
|
| 97 |
+
# Example: "Sirius", "London, UK"
|
| 98 |
get_star_visibility("Sirius", "London, UK")
|