Spaces:
Sleeping
Sleeping
Update static/index.html
Browse files- static/index.html +2 -5
static/index.html
CHANGED
|
@@ -254,11 +254,8 @@
|
|
| 254 |
const data = JSON.parse(event.data);
|
| 255 |
|
| 256 |
if (data.chunk) {
|
| 257 |
-
|
| 258 |
-
|
| 259 |
-
|
| 260 |
-
// Append streaming chunks as HTML
|
| 261 |
-
resultContent.innerHTML += htmlChunk;
|
| 262 |
|
| 263 |
|
| 264 |
|
|
|
|
| 254 |
const data = JSON.parse(event.data);
|
| 255 |
|
| 256 |
if (data.chunk) {
|
| 257 |
+
|
| 258 |
+
resultContent.innerHTML += data.chunk;
|
|
|
|
|
|
|
|
|
|
| 259 |
|
| 260 |
|
| 261 |
|