yizhangliu commited on
Commit
bb50470
1 Parent(s): 0f9fc84

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -76,7 +76,8 @@ start_work = """async() => {
76
 
77
  window['div_count'] = 0;
78
  window['chat_bot'] = window['gradioEl'].querySelectorAll('#chat_bot')[0];
79
- window['chat_bot1'] = window['gradioEl'].querySelectorAll('#chat_bot1')[0];
 
80
  window['checkChange'] = function checkChange() {
81
  try {
82
  if (window['chat_bot'].children[2].children[0].children.length > window['div_count']) {
 
76
 
77
  window['div_count'] = 0;
78
  window['chat_bot'] = window['gradioEl'].querySelectorAll('#chat_bot')[0];
79
+ window['chat_bot1'] = window['gradioEl'].querySelectorAll('#chat_bot1')[0];
80
+ window['chat_bot1'].children[1].textContent = '';
81
  window['checkChange'] = function checkChange() {
82
  try {
83
  if (window['chat_bot'].children[2].children[0].children.length > window['div_count']) {