Fix for gradioApp()

This commit is contained in:
space-nuko
2023-03-21 19:13:05 -04:00
parent caf65bfda0
commit b047095f80

View File

@@ -899,7 +899,7 @@ async function setup() {
} else {
acStyle.appendChild(document.createTextNode(css));
}
gradioApp().getRootNode().body.appendChild(acStyle);
gradioApp().appendChild(acStyle);
// Callback
await processQueue(QUEUE_AFTER_SETUP, null);