Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -193,7 +193,8 @@ 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 |
if start <= lon_deg < end:
|
198 |
zodiac_sign = sign
|
199 |
position_degrees = lon_deg - start
|
@@ -303,7 +304,7 @@ agent = CodeAgent(
|
|
303 |
max_steps=6,
|
304 |
verbosity_level=1,
|
305 |
prompt_templates=prompt_templates,
|
306 |
-
safe_mode=True, # Enable safe code execution
|
307 |
timeout=100, # Seconds before execution timeout
|
308 |
max_memory=512, # MB memory limit
|
309 |
file_system_access=False, # Disable disk write access
|
|
|
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
|
|
|
304 |
max_steps=6,
|
305 |
verbosity_level=1,
|
306 |
prompt_templates=prompt_templates,
|
307 |
+
# safe_mode=True, # Enable safe code execution
|
308 |
timeout=100, # Seconds before execution timeout
|
309 |
max_memory=512, # MB memory limit
|
310 |
file_system_access=False, # Disable disk write access
|