alistairmcleay commited on
Commit
384c151
1 Parent(s): 46d42aa

Small UI improvement

Browse files
Files changed (1) hide show
  1. app.py +8 -3
app.py CHANGED
@@ -138,7 +138,8 @@ with block:
138
  with gr.Tabs():
139
  with gr.TabItem("Dialogue System"):
140
  gr.Markdown(
141
- "This bot is a Task-Oriented Dialogue Systen. \nYou are the user. Go ahead and try to book a train, or a hotel etc."
 
142
  )
143
  with gr.Row():
144
  ds_input_text = gr.inputs.Textbox(
@@ -150,7 +151,9 @@ with block:
150
 
151
  with gr.TabItem("User Simulator"):
152
  gr.Markdown(
153
- "This bot is a User Simulator. \nYou are the Task-Oriented Dialogue System. Your job is to help the user with their requests. \nIf you want the User Simulator to have a different goal press 'Generate New Goal'."
 
 
154
  )
155
  with gr.Row():
156
  us_input_text = gr.inputs.Textbox(
@@ -164,7 +167,9 @@ with block:
164
 
165
  with gr.TabItem("Self-Play"):
166
  gr.Markdown(
167
- "In this case both the User Simulator and the Task-Oriented Dialogue System are agents. \nGet them to interact by pressing 'Run Next Step' \nIf you want the User Simulator to have a different goal press 'Generate New Goal'."
 
 
168
  )
169
  self_play_response = gr.outputs.Chatbot(label="Self-Play Output")
170
  self_play_button = gr.Button("Run Next Step")
 
138
  with gr.Tabs():
139
  with gr.TabItem("Dialogue System"):
140
  gr.Markdown(
141
+ "This bot is a Task-Oriented Dialogue Systen. <br> \
142
+ You are the user. Go ahead and try to book a train, or a hotel etc."
143
  )
144
  with gr.Row():
145
  ds_input_text = gr.inputs.Textbox(
 
151
 
152
  with gr.TabItem("User Simulator"):
153
  gr.Markdown(
154
+ "This bot is a User Simulator. <br> \
155
+ You are the Task-Oriented Dialogue System. Your job is to help the user with their requests. <br> \
156
+ If you want the User Simulator to have a different goal press 'Generate New Goal'."
157
  )
158
  with gr.Row():
159
  us_input_text = gr.inputs.Textbox(
 
167
 
168
  with gr.TabItem("Self-Play"):
169
  gr.Markdown(
170
+ "In this case both the User Simulator and the Task-Oriented Dialogue System are agents. <br> \
171
+ Get them to interact by pressing 'Run Next Step'. <br> \
172
+ If you want the User Simulator to have a different goal press 'Generate New Goal'."
173
  )
174
  self_play_response = gr.outputs.Chatbot(label="Self-Play Output")
175
  self_play_button = gr.Button("Run Next Step")