Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -50,6 +50,8 @@ agent = CodeAgent(
|
|
| 50 |
demo = GradioUI(
|
| 51 |
agent=get_weather,
|
| 52 |
)
|
|
|
|
|
|
|
| 53 |
@tool
|
| 54 |
def get_current_time_in_timezone(timezone: str) -> str:
|
| 55 |
"""A tool that fetches the current local time in a specified timezone.
|
|
|
|
| 50 |
demo = GradioUI(
|
| 51 |
agent=get_weather,
|
| 52 |
)
|
| 53 |
+
demo.launch(ssr=False)
|
| 54 |
+
|
| 55 |
@tool
|
| 56 |
def get_current_time_in_timezone(timezone: str) -> str:
|
| 57 |
"""A tool that fetches the current local time in a specified timezone.
|