Spaces:
Paused
Paused
Commit
·
2a79ab0
1
Parent(s):
4ed65f9
update files upload feature
Browse files- pages/main.py +2 -1
pages/main.py
CHANGED
|
@@ -451,9 +451,10 @@ def main_page():
|
|
| 451 |
autoplay=False
|
| 452 |
)
|
| 453 |
if "audio_transcription" in value.keys():
|
|
|
|
| 454 |
with st.expander("View audio transcription"):
|
| 455 |
st.text_area( f"Edit text - {value['name']}",
|
| 456 |
-
value=
|
| 457 |
key=value["name"],
|
| 458 |
on_change=callback_change_edited_text,
|
| 459 |
args=(key, value, value["name"])
|
|
|
|
| 451 |
autoplay=False
|
| 452 |
)
|
| 453 |
if "audio_transcription" in value.keys():
|
| 454 |
+
audio_file_transcription = st.session_state.changed_uploaded_files[uploaded_file_hash]["audio_transcription"]
|
| 455 |
with st.expander("View audio transcription"):
|
| 456 |
st.text_area( f"Edit text - {value['name']}",
|
| 457 |
+
value=audio_file_transcription,
|
| 458 |
key=value["name"],
|
| 459 |
on_change=callback_change_edited_text,
|
| 460 |
args=(key, value, value["name"])
|