SergeyO7 commited on
Commit
4698799
·
verified ·
1 Parent(s): 082b485

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -5
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 = planets['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 = HfApiModel(
110
- max_tokens=2096,
111
- temperature=0.5,
112
- model_id='Qwen/Qwen2.5-Coder-32B-Instruct',
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