Spaces:
Paused
Paused
rick
commited on
corrections d'erreurs dans le code...
Browse files- pages/main.py +1 -14
- var_app.py +1 -1
pages/main.py
CHANGED
|
@@ -222,18 +222,7 @@ def recorder_released():
|
|
| 222 |
|
| 223 |
except Exception as e:
|
| 224 |
st.error(f"[AUDIO] - {get_translation('erreur_importation_audio')}: {str(e)}")
|
| 225 |
-
|
| 226 |
-
# clear_inputs_garbages()
|
| 227 |
-
# if 'tmp_file' in locals():
|
| 228 |
-
# os.unlink(tmp_file.name)
|
| 229 |
-
##st.session_state.rec_widget.close()
|
| 230 |
-
|
| 231 |
-
#if "rec_widget" in st.session_state:
|
| 232 |
-
# list_dir_obj = dir(st.session_state.rec_widget)
|
| 233 |
-
# for itl in list_dir_obj:
|
| 234 |
-
# if "__" not in itl:
|
| 235 |
-
# st.write(f"***{itl}*** :\n{getattr(st.session_state.rec_widget, itl).__doc__}")
|
| 236 |
-
|
| 237 |
def main_page():
|
| 238 |
"""Page principale de l'application."""
|
| 239 |
|
|
@@ -282,8 +271,6 @@ def main_page():
|
|
| 282 |
{"language": lang, "iso-639-1": convert_language_name_to_iso6391(lang)}
|
| 283 |
for lang in selected_language_names
|
| 284 |
]
|
| 285 |
-
|
| 286 |
-
|
| 287 |
|
| 288 |
# Configuration de la barre latérale
|
| 289 |
with st.sidebar:
|
|
|
|
| 222 |
|
| 223 |
except Exception as e:
|
| 224 |
st.error(f"[AUDIO] - {get_translation('erreur_importation_audio')}: {str(e)}")
|
| 225 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 226 |
def main_page():
|
| 227 |
"""Page principale de l'application."""
|
| 228 |
|
|
|
|
| 271 |
{"language": lang, "iso-639-1": convert_language_name_to_iso6391(lang)}
|
| 272 |
for lang in selected_language_names
|
| 273 |
]
|
|
|
|
|
|
|
| 274 |
|
| 275 |
# Configuration de la barre latérale
|
| 276 |
with st.sidebar:
|
var_app.py
CHANGED
|
@@ -1,4 +1,4 @@
|
|
| 1 |
-
__version__ = "1.2.
|
| 2 |
|
| 3 |
from core.files import read_file
|
| 4 |
|
|
|
|
| 1 |
+
__version__ = "1.2.14"
|
| 2 |
|
| 3 |
from core.files import read_file
|
| 4 |
|