camphong24032002 commited on
Commit
7b75b35
1 Parent(s): b2c3632
Files changed (3) hide show
  1. app.py +1 -1
  2. static/js/script.js +1 -1
  3. templates/chat.html +1 -1
app.py CHANGED
@@ -28,7 +28,7 @@ def df_to_text(df):
28
  for idx in range(df.shape[0]):
29
  for title, col in zip(titles, cols):
30
  text.append(concat_content(title, df[col].iloc[idx]))
31
- text.append('')
32
  return '<br>'.join(text)
33
 
34
 
 
28
  for idx in range(df.shape[0]):
29
  for title, col in zip(titles, cols):
30
  text.append(concat_content(title, df[col].iloc[idx]))
31
+ text.append('-------------------------------')
32
  return '<br>'.join(text)
33
 
34
 
static/js/script.js CHANGED
@@ -76,6 +76,6 @@
76
  return Response({"msg": msg});
77
  }
78
  });
79
- sendMessage('Hi there', 'left');
80
  });
81
  }.call(this));
 
76
  return Response({"msg": msg});
77
  }
78
  });
79
+ sendMessage('Hi there, I am your assistant. Describe your favorite items and I will recommend you some products that matches your needs', 'left');
80
  });
81
  }.call(this));
templates/chat.html CHANGED
@@ -25,7 +25,7 @@
25
  <div class="button minimize"></div>
26
  <div class="button maximize"></div>
27
  </div>
28
- <div class="title">Chat</div>
29
  </div>
30
  <ul class="messages"></ul>
31
  <div class="bottom_wrapper clearfix">
 
25
  <div class="button minimize"></div>
26
  <div class="button maximize"></div>
27
  </div>
28
+ <div class="title">Chatbot consultant</div>
29
  </div>
30
  <ul class="messages"></ul>
31
  <div class="bottom_wrapper clearfix">