kenton-li commited on
Commit
4b45289
·
1 Parent(s): 269642a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -42,7 +42,7 @@ def csv_prompter(question):
42
 
43
 
44
 
45
- fulltext = fulltext+'Based on the above dialogue and menu, If you were a waiter, what would you answer next?'
46
  print(fulltext)
47
  messages = [
48
  {"role": "system", "content": ""},
@@ -100,8 +100,8 @@ with gr.Blocks() as demo:
100
  msg.submit(user, [msg, chatbot], [msg, chatbot], queue=False).then(
101
  bot, chatbot, chatbot
102
  )
103
- clear.click(lambda: None, None, chatbot, queue=False).then(restart, chatbot, chatbot)
104
  Initialization.click(lambda: None, None, chatbot, queue=False).then(restart, chatbot, chatbot)
 
105
 
106
 
107
 
 
42
 
43
 
44
 
45
+ fulltext = fulltext+'Based on the above dialogue and menu, If you were a waiter, what would you answer next?\n Waiter:'
46
  print(fulltext)
47
  messages = [
48
  {"role": "system", "content": ""},
 
100
  msg.submit(user, [msg, chatbot], [msg, chatbot], queue=False).then(
101
  bot, chatbot, chatbot
102
  )
 
103
  Initialization.click(lambda: None, None, chatbot, queue=False).then(restart, chatbot, chatbot)
104
+ clear.click(lambda: None, None, chatbot, queue=False).then(restart, chatbot, chatbot)
105
 
106
 
107