ZhouChuYue
commited on
Commit
·
3dc0b4c
1
Parent(s):
7e3a93a
fix: force primary button text white via late CSS override
Browse files
app.py
CHANGED
|
@@ -412,9 +412,21 @@ fieldset label.selected input[type="radio"] {
|
|
| 412 |
}
|
| 413 |
"""
|
| 414 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 415 |
with gr.Blocks(title="UltraData-Math L3 Generator", css=custom_css, theme=gr.themes.Soft()) as demo:
|
| 416 |
gr.HTML('<h1 class="main-title">🧮 UltraData-Math L3 Generator</h1>')
|
| 417 |
gr.HTML('<p class="subtitle">✨ Next-Gen Mathematical Data Synthesis Powered by LLM ✨</p>')
|
|
|
|
| 418 |
|
| 419 |
with gr.Tabs():
|
| 420 |
# Q&A Synthesis Tab
|
|
|
|
| 412 |
}
|
| 413 |
"""
|
| 414 |
|
| 415 |
+
extra_css = """
|
| 416 |
+
<style>
|
| 417 |
+
.gradio-container button.gr-button-primary,
|
| 418 |
+
.gradio-container button.gr-button-primary span,
|
| 419 |
+
.gradio-container button.gr-button-primary p {
|
| 420 |
+
color: #ffffff !important;
|
| 421 |
+
-webkit-text-fill-color: #ffffff !important;
|
| 422 |
+
}
|
| 423 |
+
</style>
|
| 424 |
+
"""
|
| 425 |
+
|
| 426 |
with gr.Blocks(title="UltraData-Math L3 Generator", css=custom_css, theme=gr.themes.Soft()) as demo:
|
| 427 |
gr.HTML('<h1 class="main-title">🧮 UltraData-Math L3 Generator</h1>')
|
| 428 |
gr.HTML('<p class="subtitle">✨ Next-Gen Mathematical Data Synthesis Powered by LLM ✨</p>')
|
| 429 |
+
gr.HTML(extra_css)
|
| 430 |
|
| 431 |
with gr.Tabs():
|
| 432 |
# Q&A Synthesis Tab
|