Update app.py
Browse files
app.py
CHANGED
|
@@ -96,21 +96,30 @@ def run_ven_engine(budget, dietary, company, purpose, noise):
|
|
| 96 |
"""
|
| 97 |
|
| 98 |
# ==========================================
|
| 99 |
-
# 3. APP UI & CSS FIX (
|
| 100 |
# ==========================================
|
| 101 |
ven_css = """
|
| 102 |
-
/*
|
| 103 |
-
.gradio-container
|
| 104 |
-
|
| 105 |
-
|
| 106 |
-
|
| 107 |
-
|
| 108 |
-
|
| 109 |
-
|
| 110 |
-
|
| 111 |
-
|
| 112 |
-
|
| 113 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 114 |
"""
|
| 115 |
|
| 116 |
with gr.Blocks(css=ven_css, title="VEN Project") as demo:
|
|
|
|
| 96 |
"""
|
| 97 |
|
| 98 |
# ==========================================
|
| 99 |
+
# 3. APP UI & CSS FIX (THE NUCLEAR FIX)
|
| 100 |
# ==========================================
|
| 101 |
ven_css = """
|
| 102 |
+
/* 诪讻专讬讞 讗转 讻诇 讛拽讜谞讟讬讬谞专讬诐 诇讛讬讜转 讻讛讬诐, 讙诐 讘诪爪讘 Light Mode */
|
| 103 |
+
.gradio-container, .gradio-container.light, .gradio-container.dark {
|
| 104 |
+
background-color: #0f172a !important;
|
| 105 |
+
color: white !important;
|
| 106 |
+
}
|
| 107 |
+
|
| 108 |
+
/* 诪讜讜讚讗 砖讛专拽注 转诪讬讚 讻讛讛 */
|
| 109 |
+
body, .landing, .wrap, .interface-box {
|
| 110 |
+
background-color: #0f172a !important;
|
| 111 |
+
color: white !important;
|
| 112 |
+
}
|
| 113 |
+
|
| 114 |
+
/* 讟拽住讟讬诐 诇讘谞讬诐 诇讻诇 讛讻讜转专讜转 讜讛转讜讜讬讜转 */
|
| 115 |
+
h1, h2, h3, h4, h5, h6, label, span, p {
|
| 116 |
+
color: white !important;
|
| 117 |
+
}
|
| 118 |
+
|
| 119 |
+
/* 讛讞专讬讙 讛讬讞讬讚: 讻专讟讬住 讛转讜爪讗讛 砖诇谞讜 - 砖诐 讗谞讞谞讜 诪讻专讬讞讬诐 砖讞讜专 */
|
| 120 |
+
.gradio-html div, .gradio-html p, .gradio-html i, .gradio-html span, .gradio-html h1, .gradio-html h2 {
|
| 121 |
+
color: #000000 !important;
|
| 122 |
+
}
|
| 123 |
"""
|
| 124 |
|
| 125 |
with gr.Blocks(css=ven_css, title="VEN Project") as demo:
|