Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -35,10 +35,13 @@ def get_current_time_in_timezone(timezone: str) -> str:
|
|
| 35 |
|
| 36 |
@tool
|
| 37 |
def research_assistant(question: str) -> str:
|
| 38 |
-
|
|
|
|
| 39 |
Args:
|
| 40 |
-
|
| 41 |
-
|
|
|
|
|
|
|
| 42 |
search_results = DuckDuckGoSearchTool().run(question)
|
| 43 |
|
| 44 |
image_url = image_generation_tool(f"Infográfico sobre: {question[ :50]}...")
|
|
|
|
| 35 |
|
| 36 |
@tool
|
| 37 |
def research_assistant(question: str) -> str:
|
| 38 |
+
"""Ferramenta de pesquisa na web e geração de conteúdo.
|
| 39 |
+
|
| 40 |
Args:
|
| 41 |
+
question (str): pergunta para a pesquisa
|
| 42 |
+
Returns:
|
| 43 |
+
str: Resultados da pesquisa com imagem
|
| 44 |
+
"""
|
| 45 |
search_results = DuckDuckGoSearchTool().run(question)
|
| 46 |
|
| 47 |
image_url = image_generation_tool(f"Infográfico sobre: {question[ :50]}...")
|