pgurazada1 commited on
Commit
2a90304
·
verified ·
1 Parent(s): cb37e74

Update chat_interface.py

Browse files
Files changed (1) hide show
  1. chat_interface.py +1 -1
chat_interface.py CHANGED
@@ -123,7 +123,7 @@ def predict(input: str, history):
123
  with log_file.open("a") as f:
124
  f.write(json.dumps(
125
  {
126
- 'user_input': user_input,
127
  'retrieved_context': context_for_query,
128
  'model_response': prediction
129
  }
 
123
  with log_file.open("a") as f:
124
  f.write(json.dumps(
125
  {
126
+ 'user_input': input,
127
  'retrieved_context': context_for_query,
128
  'model_response': prediction
129
  }