Spaces:
Sleeping
Sleeping
Jonas Wiesli
commited on
Commit
·
4cfce75
1
Parent(s):
0d614c5
adjusted layout (once more)
Browse files
app.py
CHANGED
@@ -51,14 +51,14 @@ with gr.Blocks() as iface:
|
|
51 |
with gr.Column(scale=10):
|
52 |
i = 0
|
53 |
while i < len(roles):
|
54 |
-
with gr.
|
55 |
-
with gr.
|
56 |
-
with gr.
|
57 |
chatbot.append(gr.Chatbot())
|
58 |
msg.append(gr.Textbox())
|
59 |
-
|
60 |
-
|
61 |
-
|
62 |
|
63 |
def user(user_message, history):
|
64 |
return "", history + [[user_message, None]]
|
|
|
51 |
with gr.Column(scale=10):
|
52 |
i = 0
|
53 |
while i < len(roles):
|
54 |
+
with gr.Tab(roles[i]):
|
55 |
+
with gr.Row():
|
56 |
+
with gr.Column(scale=9):
|
57 |
chatbot.append(gr.Chatbot())
|
58 |
msg.append(gr.Textbox())
|
59 |
+
with gr.Column(scale=3):
|
60 |
+
characterImage = gr.Label()
|
61 |
+
i += 1
|
62 |
|
63 |
def user(user_message, history):
|
64 |
return "", history + [[user_message, None]]
|