alistairmcleay commited on
Commit
8a1bda8
β€’
1 Parent(s): d75062c

Added warning to cover persistent state

Browse files
Files changed (1) hide show
  1. app.py +6 -2
app.py CHANGED
@@ -141,7 +141,11 @@ with block:
141
  Supported domains are: <br> \
142
  1. πŸš† Train, 2. 🏨 Hotel, 3. πŸš• Taxi, 4. πŸš“ Police, 5. 🏣 Restaurant, 6. πŸ—Ώ Attraction, 7. πŸ₯ Hospital."
143
  )
144
- gr.Markdown("*Please note: these systems are in development and are full of funny little bugs.*")
 
 
 
 
145
  with gr.Tabs():
146
  with gr.TabItem("Dialogue System"):
147
  gr.Markdown(
@@ -195,4 +199,4 @@ with block:
195
  reset_us_button.click(reset_us_state, None, us_response)
196
  reset_self_play_button.click(reset_self_play_state, None, self_play_response)
197
 
198
- block.launch(share=True)
 
141
  Supported domains are: <br> \
142
  1. πŸš† Train, 2. 🏨 Hotel, 3. πŸš• Taxi, 4. πŸš“ Police, 5. 🏣 Restaurant, 6. πŸ—Ώ Attraction, 7. πŸ₯ Hospital."
143
  )
144
+ gr.Markdown(
145
+ "**Please note:** <br> \
146
+ 1. These systems are in development and are full of funny little bugs, as is this app. <br> \
147
+ 2. If you refresh this page the conversation state will persist. To reset a conversion you need to click 'Reset Conversation' below."
148
+ )
149
  with gr.Tabs():
150
  with gr.TabItem("Dialogue System"):
151
  gr.Markdown(
 
199
  reset_us_button.click(reset_us_state, None, us_response)
200
  reset_self_play_button.click(reset_self_play_state, None, self_play_response)
201
 
202
+ block.launch()