github-actions[bot] commited on
Commit
64c64e2
·
1 Parent(s): 41138fa

Deploy from GitHub - 2026-01-21 08:15:47

Browse files
Files changed (1) hide show
  1. app.py +53 -0
app.py CHANGED
@@ -1805,6 +1805,9 @@ custom_css = """
1805
  Gradio 5.x Compatible
1806
  ============================================ */
1807
 
 
 
 
1808
  /* Animated gradient background */
1809
  body {
1810
  background: linear-gradient(-45deg, #ee7752, #e73c7e, #23a6d5, #23d5ab);
@@ -1820,6 +1823,16 @@ body {
1820
  100% { background-position: 0% 50%; }
1821
  }
1822
 
 
 
 
 
 
 
 
 
 
 
1823
  /* Main app container - glass effect */
1824
  .gradio-container {
1825
  backdrop-filter: blur(20px) saturate(180%);
@@ -2020,6 +2033,46 @@ input[type="radio"] {
2020
  color: #374151 !important;
2021
  }
2022
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2023
  /* Group/Row/Column containers */
2024
  .group,
2025
  .row,
 
1805
  Gradio 5.x Compatible
1806
  ============================================ */
1807
 
1808
+ /* Import Google Fonts */
1809
+ @import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');
1810
+
1811
  /* Animated gradient background */
1812
  body {
1813
  background: linear-gradient(-45deg, #ee7752, #e73c7e, #23a6d5, #23d5ab);
 
1823
  100% { background-position: 0% 50%; }
1824
  }
1825
 
1826
+ /* Universal font application */
1827
+ * {
1828
+ font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
1829
+ }
1830
+
1831
+ /* Ensure text elements are visible */
1832
+ h1, h2, h3, h4, h5, h6, p, span, div, label, button, input, textarea, select {
1833
+ color: inherit;
1834
+ }
1835
+
1836
  /* Main app container - glass effect */
1837
  .gradio-container {
1838
  backdrop-filter: blur(20px) saturate(180%);
 
2033
  color: #374151 !important;
2034
  }
2035
 
2036
+ /* Text visibility fixes */
2037
+ .gradio-container,
2038
+ .gradio-container *,
2039
+ .gradio-container h1,
2040
+ .gradio-container h2,
2041
+ .gradio-container h3,
2042
+ .gradio-container h4,
2043
+ .gradio-container h5,
2044
+ .gradio-container h6,
2045
+ .gradio-container p,
2046
+ .gradio-container span,
2047
+ .gradio-container label {
2048
+ color: #1F2937 !important;
2049
+ }
2050
+
2051
+ /* Button text colors */
2052
+ button,
2053
+ .gradio-container button {
2054
+ color: inherit !important;
2055
+ }
2056
+
2057
+ /* Input and select text colors */
2058
+ input,
2059
+ textarea,
2060
+ select {
2061
+ color: #1F2937 !important;
2062
+ }
2063
+
2064
+ /* Label colors */
2065
+ label,
2066
+ [class*="label"] {
2067
+ color: #374151 !important;
2068
+ font-weight: 500 !important;
2069
+ }
2070
+
2071
+ /* Gradio 5.x specific text elements */
2072
+ .svelte-*, [class*="svelte-"] {
2073
+ font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
2074
+ }
2075
+
2076
  /* Group/Row/Column containers */
2077
  .group,
2078
  .row,