Ritesh-hf commited on
Commit
f9b8017
1 Parent(s): 678bffc

Update static/script.js

Browse files
Files changed (1) hide show
  1. static/script.js +1 -1
static/script.js CHANGED
@@ -57,7 +57,7 @@ sendButton.addEventListener('click', () => {
57
  const message = chatInput.value.trim();
58
  if (message) {
59
  appendMessage(message, 'user');
60
- socket.emit('message', { question: message, session_id: 'abc123' });
61
  chatInput.value = '';
62
  response = "";
63
  } else {
 
57
  const message = chatInput.value.trim();
58
  if (message) {
59
  appendMessage(message, 'user');
60
+ socket.emit('message', { question: message, language="en", session_id: 'abc123' });
61
  chatInput.value = '';
62
  response = "";
63
  } else {