Spaces:
Paused
Paused
rick
commited on
corrections d'erreurs dans le code...
Browse files- pages/main.py +3 -5
- ui_lang_support.json +0 -0
pages/main.py
CHANGED
@@ -133,8 +133,7 @@ def recorder_released():
|
|
133 |
first_ten_minutes_audio = AudioSegment.empty()
|
134 |
|
135 |
st.markdown(
|
136 |
-
f"- {get_translation('langue_detectee')}"
|
137 |
-
f"{convert_iso6391_to_language_name(st.session_state.language_detected)}"
|
138 |
)
|
139 |
)
|
140 |
|
@@ -154,8 +153,7 @@ def recorder_released():
|
|
154 |
audio = AudioSegment.empty()
|
155 |
|
156 |
st.markdown(
|
157 |
-
f"🎤 {get_translation('transcription_audio')}"
|
158 |
-
f"{st.session_state.transcription}"
|
159 |
)
|
160 |
)
|
161 |
|
@@ -224,7 +222,7 @@ def recorder_released():
|
|
224 |
)
|
225 |
|
226 |
except Exception as e:
|
227 |
-
st.error(f"[AUDIO] -
|
228 |
#finally:
|
229 |
# clear_inputs_garbages()
|
230 |
# if 'tmp_file' in locals():
|
|
|
133 |
first_ten_minutes_audio = AudioSegment.empty()
|
134 |
|
135 |
st.markdown(
|
136 |
+
f"- {get_translation('langue_detectee')} {convert_iso6391_to_language_name(st.session_state.language_detected)}"
|
|
|
137 |
)
|
138 |
)
|
139 |
|
|
|
153 |
audio = AudioSegment.empty()
|
154 |
|
155 |
st.markdown(
|
156 |
+
f"🎤 {get_translation('transcription_audio')} {st.session_state.transcription}"
|
|
|
157 |
)
|
158 |
)
|
159 |
|
|
|
222 |
)
|
223 |
|
224 |
except Exception as e:
|
225 |
+
st.error(f"[AUDIO] - {get_translation('erreur_importation_audio')}: {str(e)}")
|
226 |
#finally:
|
227 |
# clear_inputs_garbages()
|
228 |
# if 'tmp_file' in locals():
|
ui_lang_support.json
CHANGED
The diff for this file is too large to render.
See raw diff
|
|