drudilorenzo / generative_agents

Generative Agents: Interactive Simulacra of Human Behavior
Apache License 2.0
53 stars 13 forks source link

Web display problem #6

Open SoonAmber opened 2 weeks ago

SoonAmber commented 2 weeks ago

Although the terminal has the correct output, the web always says "Please start the backend first." Go to playback and click "play" and the result is that nothing has changed ps:In addition, one of the logs was having trouble writing, so I chose to comment it out. TAT

self.__cost_logger = OpenAICostLogger(

    #     experiment_name=experiment_name,
    #     cost_upperbound=cost_upperbound,
    #     log_folder=log_folder
    # ) 

and

with self.lock:

    #     self.__cost_logger.update_cost(
    #         response=response,
    #         input_cost=input_cost,
    #         output_cost=output_cost
    #     )
drudilorenzo commented 1 week ago

Although the terminal has the correct output, the web always says "Please start the backend first."

Hey, this usually happens when you refresh the tab. But if you don't refresh the tab it should work. Lemme know if you still have the problem!

ps. If the problem persist, can you please describe me the steps you are doing for the execution?