Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -199,7 +199,7 @@ language_dict = {
|
|
| 199 |
'Croatian (Croatia)-Srecko (Male)': 'hr-HR-SreckoNeural',
|
| 200 |
'Hungarian (Hungary)-Noemi (Female)': 'hu-HU-NoemiNeural',
|
| 201 |
'Hungarian (Hungary)-Tamas (Male)': 'hu-HU-TamasNeural',
|
| 202 |
-
'Icelandic (
|
| 203 |
'Icelandic (Iceland)-Gunnar (Male)': 'is-IS-GunnarNeural',
|
| 204 |
'Javanese (Indonesia)-Dimas (Male)': 'jv-ID-DimasNeural',
|
| 205 |
'Javanese (Indonesia)-Siti (Female)': 'jv-ID-SitiNeural',
|
|
@@ -246,7 +246,7 @@ for voice_name, voice_code in language_dict.items():
|
|
| 246 |
language_groups[language] = []
|
| 247 |
language_groups[language].append(voice_name)
|
| 248 |
|
| 249 |
-
# Comprehensive CSS for
|
| 250 |
st.markdown("""
|
| 251 |
<style>
|
| 252 |
/* Main container and background */
|
|
@@ -312,7 +312,27 @@ st.markdown("""
|
|
| 312 |
color: #ffffff !important;
|
| 313 |
text-align: center;
|
| 314 |
}
|
| 315 |
-
/*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 316 |
.st-emotion-cache-1r4v8oq, .st-emotion-cache-10trblm {
|
| 317 |
background-color: #000000 !important;
|
| 318 |
}
|
|
|
|
| 199 |
'Croatian (Croatia)-Srecko (Male)': 'hr-HR-SreckoNeural',
|
| 200 |
'Hungarian (Hungary)-Noemi (Female)': 'hu-HU-NoemiNeural',
|
| 201 |
'Hungarian (Hungary)-Tamas (Male)': 'hu-HU-TamasNeural',
|
| 202 |
+
'Icelandic (Iceland)-Gudrun (Female)': 'is-IS-GudrunNeural',
|
| 203 |
'Icelandic (Iceland)-Gunnar (Male)': 'is-IS-GunnarNeural',
|
| 204 |
'Javanese (Indonesia)-Dimas (Male)': 'jv-ID-DimasNeural',
|
| 205 |
'Javanese (Indonesia)-Siti (Female)': 'jv-ID-SitiNeural',
|
|
|
|
| 246 |
language_groups[language] = []
|
| 247 |
language_groups[language].append(voice_name)
|
| 248 |
|
| 249 |
+
# Comprehensive CSS for dark theme and three-dot menu
|
| 250 |
st.markdown("""
|
| 251 |
<style>
|
| 252 |
/* Main container and background */
|
|
|
|
| 312 |
color: #ffffff !important;
|
| 313 |
text-align: center;
|
| 314 |
}
|
| 315 |
+
/* Style the three-dot menu */
|
| 316 |
+
.st-emotion-cache-1j0y6p8 {
|
| 317 |
+
background-color: #000000 !important;
|
| 318 |
+
color: #ffffff !important;
|
| 319 |
+
}
|
| 320 |
+
.st-emotion-cache-1j0y6p8 svg {
|
| 321 |
+
fill: #ffffff !important;
|
| 322 |
+
}
|
| 323 |
+
.st-emotion-cache-1j0y6p8:hover {
|
| 324 |
+
background-color: #1a1a1a !important;
|
| 325 |
+
}
|
| 326 |
+
.st-emotion-cache-1h0l5z3 { /* Menu dropdown */
|
| 327 |
+
background-color: #000000 !important;
|
| 328 |
+
color: #ffffff !important;
|
| 329 |
+
border: 1px solid #333333;
|
| 330 |
+
border-radius: 8px;
|
| 331 |
+
}
|
| 332 |
+
.st-emotion-cache-1h0l5z3 a {
|
| 333 |
+
color: #ffffff !important;
|
| 334 |
+
}
|
| 335 |
+
/* Override sidebar and other elements */
|
| 336 |
.st-emotion-cache-1r4v8oq, .st-emotion-cache-10trblm {
|
| 337 |
background-color: #000000 !important;
|
| 338 |
}
|