Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -40,14 +40,15 @@ def ai_regulation_query_tool(query: str) -> str:
|
|
| 40 |
Queries an AI model for information on AI regulation.
|
| 41 |
|
| 42 |
Args:
|
| 43 |
-
query (str):
|
| 44 |
|
| 45 |
Returns:
|
| 46 |
-
str:
|
| 47 |
"""
|
| 48 |
return ai_regulation_tool.get_regulation_info(query)
|
| 49 |
|
| 50 |
|
|
|
|
| 51 |
@tool
|
| 52 |
def get_current_time_in_timezone(timezone: str) -> str:
|
| 53 |
"""Fetches the current local time in a specified timezone.
|
|
|
|
| 40 |
Queries an AI model for information on AI regulation.
|
| 41 |
|
| 42 |
Args:
|
| 43 |
+
query (str): A question or topic related to AI regulations.
|
| 44 |
|
| 45 |
Returns:
|
| 46 |
+
str: The response from the AI model regarding AI regulations.
|
| 47 |
"""
|
| 48 |
return ai_regulation_tool.get_regulation_info(query)
|
| 49 |
|
| 50 |
|
| 51 |
+
|
| 52 |
@tool
|
| 53 |
def get_current_time_in_timezone(timezone: str) -> str:
|
| 54 |
"""Fetches the current local time in a specified timezone.
|