Spaces:
Running
Running
add that for custom models too - Follow Up Deployment
Browse files- index.html +1 -1
index.html
CHANGED
|
@@ -679,7 +679,7 @@
|
|
| 679 |
chatArea.appendChild(messageElement);
|
| 680 |
const contentElement = messageElement.querySelector('#streaming-content');
|
| 681 |
|
| 682 |
-
|
| 683 |
const onStream = (content) => {
|
| 684 |
response = content;
|
| 685 |
contentElement.innerHTML = marked.parse(response);
|
|
|
|
| 679 |
chatArea.appendChild(messageElement);
|
| 680 |
const contentElement = messageElement.querySelector('#streaming-content');
|
| 681 |
|
| 682 |
+
response = '';
|
| 683 |
const onStream = (content) => {
|
| 684 |
response = content;
|
| 685 |
contentElement.innerHTML = marked.parse(response);
|