Jonas Wiesli commited on
Commit
4cfce75
·
1 Parent(s): 0d614c5

adjusted layout (once more)

Browse files
Files changed (1) hide show
  1. app.py +6 -6
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.Row():
55
- with gr.Column(scale=9):
56
- with gr.Tab(roles[i]):
57
  chatbot.append(gr.Chatbot())
58
  msg.append(gr.Textbox())
59
- i += 1
60
- with gr.Column(scale=3):
61
- characterImage = gr.Label()
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]]