Spaces:
Runtime error
Runtime error
Commit ·
4ac1d19
1
Parent(s): b3509ba
fixing a small error
Browse files
gradio_app/interacton_with_swarm.py
CHANGED
|
@@ -96,7 +96,7 @@ def get_swarm_global_goal():
|
|
| 96 |
swarm_config = get_swarm_config()
|
| 97 |
return swarm_config["task"]["global_goal"]
|
| 98 |
|
| 99 |
-
def set_swarm_goals(goals: list
|
| 100 |
"""
|
| 101 |
Set the goals for the swarm. It's specified in the swarm_config.yaml file under: swarm.task.goals
|
| 102 |
|
|
@@ -148,7 +148,7 @@ def get_swarm_goals():
|
|
| 148 |
swarm_config = get_swarm_config()
|
| 149 |
return swarm_config["task"]["goals"]
|
| 150 |
|
| 151 |
-
def set_swarm_agents_config(agents_config: list
|
| 152 |
"""
|
| 153 |
Set the agents config for the swarm. It's specified in the swarm_config.yaml file under: swarm.agents
|
| 154 |
"""
|
|
|
|
| 96 |
swarm_config = get_swarm_config()
|
| 97 |
return swarm_config["task"]["global_goal"]
|
| 98 |
|
| 99 |
+
def set_swarm_goals(goals: list):
|
| 100 |
"""
|
| 101 |
Set the goals for the swarm. It's specified in the swarm_config.yaml file under: swarm.task.goals
|
| 102 |
|
|
|
|
| 148 |
swarm_config = get_swarm_config()
|
| 149 |
return swarm_config["task"]["goals"]
|
| 150 |
|
| 151 |
+
def set_swarm_agents_config(agents_config: list):
|
| 152 |
"""
|
| 153 |
Set the agents config for the swarm. It's specified in the swarm_config.yaml file under: swarm.agents
|
| 154 |
"""
|