You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
291 B
16 lines
291 B
from swarms import worker_node
|
|
|
|
# Your OpenAI API key
|
|
api_key = "sksdsds"
|
|
|
|
# Initialize a WorkerNode with your API key
|
|
node = worker_node(api_key)
|
|
|
|
# Define an objective
|
|
objective = "Please make a web GUI for using HTTP API server..."
|
|
|
|
# Run the task
|
|
task = node.run(objective)
|
|
|
|
print(task)
|