RomZay commited on
Commit
6bf350f
·
verified ·
1 Parent(s): 956e2fd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -125,7 +125,7 @@ def render_message(history):
125
  <script>
126
  function scrollToBottom() {
127
  var chatbox = document.getElementById('chatbox-container');
128
- chatbox.scrollTop = chatbox.scrollHeight;
129
  }
130
  window.onload = function() {
131
  scrollToBottom();
 
125
  <script>
126
  function scrollToBottom() {
127
  var chatbox = document.getElementById('chatbox-container');
128
+ chatbox.scrollTop =- chatbox.scrollHeight;
129
  }
130
  window.onload = function() {
131
  scrollToBottom();