chenxiYan commited on
Commit
4bce2da
1 Parent(s): 57efdb5
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -90,8 +90,8 @@ with gr.Blocks() as demo:
90
  chatbot = gr.Chatbot()
91
  role_image = gr.Image(height=400, value="./images/haruhi.jpg")
92
  with gr.Row():
93
- user_role = gr.Textbox(label="user_role")
94
- user_text = gr.Textbox(label="user_text")
95
  with gr.Row():
96
  submit = gr.Button("Submit")
97
  clean = gr.ClearButton(value="Clear")
 
90
  chatbot = gr.Chatbot()
91
  role_image = gr.Image(height=400, value="./images/haruhi.jpg")
92
  with gr.Row():
93
+ user_role = gr.Textbox(label="user_role", scale=1)
94
+ user_text = gr.Textbox(label="user_text", scale=20)
95
  with gr.Row():
96
  submit = gr.Button("Submit")
97
  clean = gr.ClearButton(value="Clear")