From 87f01879d5a8d862a4da052dbdcd0c3c6d5706fb Mon Sep 17 00:00:00 2001 From: Lasse Studion Date: Sun, 12 Mar 2023 09:10:06 +0100 Subject: [PATCH] Fix xml parser --- app.py | 11 ++++++++--- requirements.txt | 1 + 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/app.py b/app.py index c975c04..ce69b23 100644 --- a/app.py +++ b/app.py @@ -10,14 +10,19 @@ st.markdown( """ 1. Set colors for a few clips on your timeline, ideally at least one clip from each recording. -2. Upload your Hindenburg project file (ending with *nhsx*) to add the same color +2. Upload your Hindenburg project file (ending with *.nhsx*) below to add the same color to other clips originating from the same recording. 3. Download the modified file *and put it in the same folder as your original project file*. - -No data is saved anywhere. Made by [Lasse Edfast](https://lasseedfast.se). +:red[No data is saved anywhere]. Made by [Lasse Edfast](https://lasseedfast.se). You need to be using Hindenburg 2.0 to use colors. """ ) +# with st.expander(label='Example'): +# c1, c2 = st.columns(2) +# with c1: + + + # Ask for file. uploaded_file = st.file_uploader( "*Upload your project file*", label_visibility="hidden", type="nhsx", accept_multiple_files=False diff --git a/requirements.txt b/requirements.txt index 5bc0166..215bcdc 100644 --- a/requirements.txt +++ b/requirements.txt @@ -16,6 +16,7 @@ importlib-metadata==6.0.0 importlib-resources==5.12.0 Jinja2==3.1.2 jsonschema==4.17.3 +lxml==4.9.2 markdown-it-py==2.2.0 MarkupSafe==2.1.2 mdurl==0.1.2