Upload folder using huggingface_hub
Browse files
6.12.0/tootils/src/render.ts
CHANGED
|
@@ -257,6 +257,7 @@ const cleanupAtContainer = (container: HTMLElement): void => {
|
|
| 257 |
|
| 258 |
export function cleanup(): void {
|
| 259 |
Array.from(containerCache.keys()).forEach(cleanupAtContainer);
|
|
|
|
| 260 |
}
|
| 261 |
|
| 262 |
type AsyncFireObject = {
|
|
|
|
| 257 |
|
| 258 |
export function cleanup(): void {
|
| 259 |
Array.from(containerCache.keys()).forEach(cleanupAtContainer);
|
| 260 |
+
document.body.innerHTML = "";
|
| 261 |
}
|
| 262 |
|
| 263 |
type AsyncFireObject = {
|