Spaces:
Running
Running
Upload folder using huggingface_hub
Browse files- gradio_app.py +34 -0
gradio_app.py
CHANGED
@@ -1050,6 +1050,40 @@ def create_gradio_interface():
|
|
1050 |
color: #e5e5e5 !important;
|
1051 |
border: 2px solid #404040 !important;
|
1052 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1053 |
</script>
|
1054 |
|
1055 |
<script>
|
|
|
1050 |
color: #e5e5e5 !important;
|
1051 |
border: 2px solid #404040 !important;
|
1052 |
}
|
1053 |
+
|
1054 |
+
/* Specific dropdown structure targeting - system dark mode */
|
1055 |
+
@media (prefers-color-scheme: dark) {
|
1056 |
+
.wrap.svelte-1hfxrpf,
|
1057 |
+
.wrap-inner.svelte-1hfxrpf,
|
1058 |
+
.secondary-wrap.svelte-1hfxrpf,
|
1059 |
+
input[role="listbox"].svelte-1hfxrpf {
|
1060 |
+
background: #2a2a2a !important;
|
1061 |
+
color: #e5e5e5 !important;
|
1062 |
+
border-color: #404040 !important;
|
1063 |
+
}
|
1064 |
+
}
|
1065 |
+
|
1066 |
+
/* Specific dropdown structure targeting - Gradio dark mode */
|
1067 |
+
.dark .wrap.svelte-1hfxrpf,
|
1068 |
+
.dark .wrap-inner.svelte-1hfxrpf,
|
1069 |
+
.dark .secondary-wrap.svelte-1hfxrpf,
|
1070 |
+
.dark input[role="listbox"].svelte-1hfxrpf,
|
1071 |
+
.gradio-container.dark .wrap.svelte-1hfxrpf,
|
1072 |
+
.gradio-container.dark .wrap-inner.svelte-1hfxrpf,
|
1073 |
+
.gradio-container.dark .secondary-wrap.svelte-1hfxrpf,
|
1074 |
+
.gradio-container.dark input[role="listbox"].svelte-1hfxrpf,
|
1075 |
+
html.dark .wrap.svelte-1hfxrpf,
|
1076 |
+
html.dark .wrap-inner.svelte-1hfxrpf,
|
1077 |
+
html.dark .secondary-wrap.svelte-1hfxrpf,
|
1078 |
+
html.dark input[role="listbox"].svelte-1hfxrpf,
|
1079 |
+
body.dark .wrap.svelte-1hfxrpf,
|
1080 |
+
body.dark .wrap-inner.svelte-1hfxrpf,
|
1081 |
+
body.dark .secondary-wrap.svelte-1hfxrpf,
|
1082 |
+
body.dark input[role="listbox"].svelte-1hfxrpf {
|
1083 |
+
background: #2a2a2a !important;
|
1084 |
+
color: #e5e5e5 !important;
|
1085 |
+
border-color: #404040 !important;
|
1086 |
+
}
|
1087 |
</script>
|
1088 |
|
1089 |
<script>
|