Spaces:
Paused
Paused
rick
commited on
done ?...
Browse files
app.py
CHANGED
|
@@ -270,7 +270,7 @@ def main():
|
|
| 270 |
st.session_state["enable_tts_for_input_from_audio_record"] = True
|
| 271 |
|
| 272 |
if "interface_language" not in st.session_state:
|
| 273 |
-
st.session_state.interface_language = "
|
| 274 |
|
| 275 |
|
| 276 |
def init_process_mode():
|
|
@@ -384,7 +384,7 @@ def main():
|
|
| 384 |
label=_("choix_langue_interface"),
|
| 385 |
options=list(traductions.keys()),
|
| 386 |
key="interface_language",
|
| 387 |
-
index=list(traductions.keys()).index("
|
| 388 |
)
|
| 389 |
|
| 390 |
with st.container(border=True):
|
|
|
|
| 270 |
st.session_state["enable_tts_for_input_from_audio_record"] = True
|
| 271 |
|
| 272 |
if "interface_language" not in st.session_state:
|
| 273 |
+
st.session_state.interface_language = "French" # Langue par défaut
|
| 274 |
|
| 275 |
|
| 276 |
def init_process_mode():
|
|
|
|
| 384 |
label=_("choix_langue_interface"),
|
| 385 |
options=list(traductions.keys()),
|
| 386 |
key="interface_language",
|
| 387 |
+
index=list(traductions.keys()).index("French") if "interface_language" not in st.session_state else list(traductions.keys()).index(st.session_state.interface_language)
|
| 388 |
)
|
| 389 |
|
| 390 |
with st.container(border=True):
|