Dave67350 commited on
Commit
31c0f23
·
verified ·
1 Parent(s): e59645d

Update tools/ai_act_generator.py

Browse files
Files changed (1) hide show
  1. tools/ai_act_generator.py +1 -1
tools/ai_act_generator.py CHANGED
@@ -134,7 +134,7 @@ Let's begin with a few questions to generate your compliance register.
134
 
135
  What is the name of your organization?
136
  """)
137
- stored_messages = gr.State([initial_message])
138
  chatbot = gr.Chatbot(type="messages", value=stored_messages)
139
  msg = gr.Textbox(label="Your answer")
140
  state = gr.State()
 
134
 
135
  What is the name of your organization?
136
  """)
137
+ stored_messages = [initial_message]
138
  chatbot = gr.Chatbot(type="messages", value=stored_messages)
139
  msg = gr.Textbox(label="Your answer")
140
  state = gr.State()