Spaces:
Sleeping
Sleeping
Jonas Wiesli
commited on
Commit
•
12fea66
1
Parent(s):
a0e8812
fixed for loop
Browse files
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
|
16 |
-
msg
|
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 |
|