Jonas Wiesli commited on
Commit
7b69fde
1 Parent(s): ce17a21

adjusted layout

Browse files
Files changed (1) hide show
  1. app.py +12 -10
app.py CHANGED
@@ -47,16 +47,18 @@ with gr.Blocks() as iface:
47
  with gr.Row():
48
  with gr.Column(scale=2):
49
  questionCounter = gr.Label(value="Remaining Questions: 24")
50
- finishButton = gr.Button()
51
- with gr.Column(scale=8):
52
- i = 0
53
- while i < len(roles):
54
- with gr.Tab(roles[i]):
55
- chatbot.append(gr.Chatbot())
56
- msg.append(gr.Textbox())
57
- i += 1
58
- with gr.Column(scale=2):
59
- characterImage = gr.Image()
 
 
60
 
61
  def user(user_message, history):
62
  return "", history + [[user_message, None]]
 
47
  with gr.Row():
48
  with gr.Column(scale=2):
49
  questionCounter = gr.Label(value="Remaining Questions: 24")
50
+ finishButton = gr.Button("Try to Solve")
51
+ with gr.Column(scale=10):
52
+ with gr.Row():
53
+ with gr.Column(scale=9):
54
+ i = 0
55
+ while i < len(roles):
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]]