Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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 |
|