generative_agents
generative_agents copied to clipboard
Refreshing "http://localhost:8000/simulator_home" error, it shows "Please start the backend first."
Hi, Thank you very much for open-sourcing this repository. I think I successfully set up the environment following your tutorial, and I get a response when I input "run 1".
~~~ prompt ----------------------------------------------------
Name: Isabella Rodriguez
Age: 34
Innate traits: friendly, outgoing, hospitable
Learned traits: Isabella Rodriguez is a cafe owner of Hobbs Cafe who loves to make people feel welcome. She is always looking for ways to make the cafe a place where people can come to relax and enjoy themselves.
Currently: Isabella Rodriguez is planning on having a Valentine's Day party at Hobbs Cafe with her customers on February 14th, 2023 at 5pm. She is gathering party material, and is telling everyone to join the party at Hobbs Cafe on February 14th, 2023, from 5pm to 7pm.
Lifestyle: Isabella Rodriguez goes to bed around 11pm, awakes up around 6am.
Daily plan requirement: Isabella Rodriguez opens Hobbs Cafe at 8am everyday, and works at the counter until 8pm, at which point she closes the cafe.
Current Date: Monday February 13
In general, Isabella Rodriguez goes to bed around 11pm, awakes up around 6am.
Today is Monday February 13. Here is Isabella's plan today in broad-strokes (with the time of the day. e.g., have a lunch at 12:00 pm, watch TV from 7 to 8 pm): 1) wake up and complete the morning routine at 6:00 am, 2)
~~~ output ----------------------------------------------------
['wake up and complete the morning routine at 6:00 am', 'Open Hobbs Cafe and work at the counter from 8:00 am to 8:00 pm', 'Have a lunch at 12:00 pm', "Prepare for the Valentine's Day party", 'Watch TV from 7 to 8 pm']
=== END ==========================================================
When I visit http://localhost:8000/, it shows "Your environment server is up and running!", and the first time I enter http://localhost:8000/simulator_home, it also displays normally. However, when I refresh http://localhost:8000/simulator_home or click on an NPC's detail and then go back, the page cannot be displayed, and it outputs "Please start the backend first.". This prevents me from observing the NPC's activities in the visualization page.