brunhild217 commited on
Commit
869c9ac
·
1 Parent(s): 23a6ca9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -5
app.py CHANGED
@@ -25,11 +25,7 @@ class EchoingTutor(SlightlyDelusionalTutor):
25
  def add_user_message(user_message, chat_tutor):
26
  chat_tutor.add_user_message(user_message)
27
  return chat_tutor.conversation_memory, chat_tutor
28
- """
29
- def get_tutor_reply(user_message, chat_tutor):
30
- chat_tutor.get_tutor_reply(user_message)
31
- return gr.update(value="", interactive=True), chat_tutor.conversation_memory, chat_tutor
32
- """
33
  def get_tutor_reply(chat_tutor):
34
  chat_tutor.get_tutor_reply(input_kwargs={'question':''})
35
  return gr.update(value="", interactive=True), chat_tutor.conversation_memory, chat_tutor
 
25
  def add_user_message(user_message, chat_tutor):
26
  chat_tutor.add_user_message(user_message)
27
  return chat_tutor.conversation_memory, chat_tutor
28
+
 
 
 
 
29
  def get_tutor_reply(chat_tutor):
30
  chat_tutor.get_tutor_reply(input_kwargs={'question':''})
31
  return gr.update(value="", interactive=True), chat_tutor.conversation_memory, chat_tutor