Spaces:
Runtime error
Runtime error
from swarms import swarm | |
# Use the function | |
api_key = "APIKEY" | |
objective = "What is the capital of the UK?" | |
result = swarm(api_key, objective) | |
print(result) # Prints: "The capital of the UK is London." | |