mirror of
https://github.com/camel-ai/owl.git
synced 2025-12-26 02:06:20 +08:00
fix run.py demo
This commit is contained in:
parent
4da8ecdb20
commit
9874642e9b
@ -135,7 +135,9 @@ def main():
|
||||
|
||||
# Construct and run the society
|
||||
society = construct_society(question)
|
||||
answer, chat_history, token_count = run_society(society)
|
||||
|
||||
import asyncio
|
||||
answer, chat_history, token_count = asyncio.run(run_society(society))
|
||||
|
||||
# Output the result
|
||||
print(f"\033[94mAnswer: {answer}\033[0m")
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user