fix wc error in dev mode (#3572)

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
This commit is contained in:
pngwn 2023-03-24 20:35:51 +00:00 committed by GitHub
parent 1c8d3cb05d
commit 4c00103dea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -96,8 +96,8 @@ function create_custom_element() {
});
}
}
customElements.define("gradio-app", GradioApp);
if (!customElements.get("gradio-app"))
customElements.define("gradio-app", GradioApp);
}
create_custom_element();