AashitaK commited on
Commit
bc9817d
·
verified ·
1 Parent(s): b3d9f82

Update utils/chatbot_interface2.py

Browse files
Files changed (1) hide show
  1. utils/chatbot_interface2.py +2 -2
utils/chatbot_interface2.py CHANGED
@@ -101,7 +101,7 @@ class ChatbotInterface:
101
  Reset the chatbot output.
102
  :return: An empty list to reset the output.
103
  """
104
- return []
105
 
106
  def create_interface(self) -> gr.Blocks:
107
  """
@@ -181,7 +181,7 @@ class ChatbotInterface:
181
  reset.click(
182
  fn=self.reset_output,
183
  inputs=None,
184
- outputs=chatbot_output
185
  )
186
 
187
  logging.info("Gradio interface created successfully.")
 
101
  Reset the chatbot output.
102
  :return: An empty list to reset the output.
103
  """
104
+ return [], ""
105
 
106
  def create_interface(self) -> gr.Blocks:
107
  """
 
181
  reset.click(
182
  fn=self.reset_output,
183
  inputs=None,
184
+ outputs=[chatbot_output, user_input]#chatbot_output
185
  )
186
 
187
  logging.info("Gradio interface created successfully.")