Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -59,7 +59,8 @@ def get_moon_info(date_time: str) -> dict:
|
|
59 |
|
60 |
# Get the geocentric position of the Moon
|
61 |
earth = planets['earth']
|
62 |
-
moon
|
|
|
63 |
astrometric = earth.at(t).observe(moon)
|
64 |
ra, dec, distance = astrometric.radec()
|
65 |
|
@@ -106,10 +107,10 @@ def get_current_time_in_timezone(timezone: str) -> str:
|
|
106 |
|
107 |
|
108 |
final_answer = FinalAnswerTool()
|
109 |
-
model =
|
110 |
-
|
111 |
-
temperature=0.
|
112 |
-
|
113 |
custom_role_conversions=None,
|
114 |
)
|
115 |
|
|
|
59 |
|
60 |
# Get the geocentric position of the Moon
|
61 |
earth = planets['earth']
|
62 |
+
moon
|
63 |
+
= planets['moon']
|
64 |
astrometric = earth.at(t).observe(moon)
|
65 |
ra, dec, distance = astrometric.radec()
|
66 |
|
|
|
107 |
|
108 |
|
109 |
final_answer = FinalAnswerTool()
|
110 |
+
model = LiteLLMModel(
|
111 |
+
model_id="gemini/gemini-2.0-flash-lite",
|
112 |
+
temperature=0.7,
|
113 |
+
api_key=userdata.get("GEMINI_KEY")
|
114 |
custom_role_conversions=None,
|
115 |
)
|
116 |
|