Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -38,6 +38,7 @@ MOON_PHASES = [
|
|
38 |
@tool
|
39 |
def get_moon_info(date_time: str) -> dict:
|
40 |
"""
|
|
|
41 |
A tool that calculates the Moon's Zodiac sign and phase for a given date and time.
|
42 |
|
43 |
Args:
|
@@ -109,9 +110,9 @@ def get_current_time_in_timezone(timezone: str) -> str:
|
|
109 |
|
110 |
final_answer = FinalAnswerTool()
|
111 |
model = HfApiModel(
|
|
|
|
|
112 |
model_id="https://pflgm2locj2t89co.us-east-1.aws.endpoints.huggingface.cloud/",
|
113 |
-
temperature=0.7,
|
114 |
-
api_key=userdata.get("HF_TOKEN"),
|
115 |
custom_role_conversions=None,
|
116 |
)
|
117 |
|
|
|
38 |
@tool
|
39 |
def get_moon_info(date_time: str) -> dict:
|
40 |
"""
|
41 |
+
|
42 |
A tool that calculates the Moon's Zodiac sign and phase for a given date and time.
|
43 |
|
44 |
Args:
|
|
|
110 |
|
111 |
final_answer = FinalAnswerTool()
|
112 |
model = HfApiModel(
|
113 |
+
max_tokens=2096,
|
114 |
+
temperature=0.5,
|
115 |
model_id="https://pflgm2locj2t89co.us-east-1.aws.endpoints.huggingface.cloud/",
|
|
|
|
|
116 |
custom_role_conversions=None,
|
117 |
)
|
118 |
|