Keyven commited on
Commit
6b9ed2d
Β·
1 Parent(s): 11df678

Update response perf.

Browse files
Files changed (1) hide show
  1. app.py +0 -5
app.py CHANGED
@@ -87,11 +87,6 @@ def get_chat_response(chatbot, task_history, model, tokenizer):
87
  task_history[-1] = (query, full_response)
88
  return chatbot
89
 
90
- task_history.append((message, full_response))
91
- chatbot.append((format_text(message), format_text(full_response))) # Hier verwenden wir format_text statt _parse_text
92
-
93
- return chatbot, task_history
94
-
95
 
96
  def handle_text_input(history, task_history, text):
97
  """Handle text input from the user."""
 
87
  task_history[-1] = (query, full_response)
88
  return chatbot
89
 
 
 
 
 
 
90
 
91
  def handle_text_input(history, task_history, text):
92
  """Handle text input from the user."""