Spaces:
Sleeping
Sleeping
Fix parameter name in AgentWorkflow instantiation from 'tools' to 'tools_or_functions'
Browse files
app.py
CHANGED
|
@@ -8,7 +8,7 @@ import gradio as gr
|
|
| 8 |
|
| 9 |
llm = HuggingFaceInferenceAPI(model_name='Qwen/Qwen2.5-Coder-32B-Instruct')
|
| 10 |
alfred = AgentWorkflow.from_tools_or_functions(
|
| 11 |
-
|
| 12 |
get_weather_info_tool,
|
| 13 |
get_hub_stats_tool,
|
| 14 |
search_tool,
|
|
|
|
| 8 |
|
| 9 |
llm = HuggingFaceInferenceAPI(model_name='Qwen/Qwen2.5-Coder-32B-Instruct')
|
| 10 |
alfred = AgentWorkflow.from_tools_or_functions(
|
| 11 |
+
tools_or_functions=[
|
| 12 |
get_weather_info_tool,
|
| 13 |
get_hub_stats_tool,
|
| 14 |
search_tool,
|