Jonas Wiesli commited on
Commit
12fea66
1 Parent(s): a0e8812

fixed for loop

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -12,8 +12,8 @@ with gr.Blocks() as iface:
12
  i = 0
13
  while i < len(roles):
14
  with gr.Tab(roles[i]):
15
- chatbot[i] = gr.Chatbot()
16
- msg[i] = gr.Textbox()
17
  i += 1
18
 
19
 
 
12
  i = 0
13
  while i < len(roles):
14
  with gr.Tab(roles[i]):
15
+ chatbot.append(gr.Chatbot())
16
+ msg.append(gr.Textbox())
17
  i += 1
18
 
19