Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -44,7 +44,8 @@ agent = CodeAgent(
|
|
| 44 |
description="Weather info agent",
|
| 45 |
model="gpt-3.5-turbo" # or whatever model is supported
|
| 46 |
)
|
| 47 |
-
|
|
|
|
| 48 |
@tool
|
| 49 |
def get_current_time_in_timezone(timezone: str) -> str:
|
| 50 |
"""A tool that fetches the current local time in a specified timezone.
|
|
|
|
| 44 |
description="Weather info agent",
|
| 45 |
model="gpt-3.5-turbo" # or whatever model is supported
|
| 46 |
)
|
| 47 |
+
GradioUI(agent).launch()
|
| 48 |
+
|
| 49 |
@tool
|
| 50 |
def get_current_time_in_timezone(timezone: str) -> str:
|
| 51 |
"""A tool that fetches the current local time in a specified timezone.
|