Spaces:
Running
Running
Commit
·
4f4503d
1
Parent(s):
160d6ec
add trial force light mode
Browse files- embed.html +11 -1
embed.html
CHANGED
@@ -3,4 +3,14 @@
|
|
3 |
src="https://gradio.s3-us-west-2.amazonaws.com/5.17.0/gradio.js"
|
4 |
></script>
|
5 |
|
6 |
-
<gradio-app src="https://spriambada3-ehealth-transcribe.hf.space/?__theme=light" class="light"></gradio-app>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
src="https://gradio.s3-us-west-2.amazonaws.com/5.17.0/gradio.js"
|
4 |
></script>
|
5 |
|
6 |
+
<gradio-app id="gr-app" src="https://spriambada3-ehealth-transcribe.hf.space/?__theme=light" class="light"></gradio-app>
|
7 |
+
<script>
|
8 |
+
function onload() {
|
9 |
+
document.getElementById("gr-app").className = "light";
|
10 |
+
console.log(document.getElementById("gr-app"))
|
11 |
+
}
|
12 |
+
window.onload = onload;
|
13 |
+
</script>
|
14 |
+
<script>
|
15 |
+
window.addEventListener("load", setTimeout(onload, 500));
|
16 |
+
</script>
|