Spaces:
Sleeping
Sleeping
Added textual details
Browse files
app.py
CHANGED
|
@@ -939,4 +939,20 @@ if st.button("Upload Files to Dataset"):
|
|
| 939 |
def convert_df(df):
|
| 940 |
return df.to_csv(index=False).encode('utf-8')
|
| 941 |
|
| 942 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 939 |
def convert_df(df):
|
| 940 |
return df.to_csv(index=False).encode('utf-8')
|
| 941 |
|
| 942 |
+
st.write("Would you like additional data, charts, or features? We would love to hear more from you [about our project!](https://forms.gle/A32CdfGYSZoMPyyX9)")
|
| 943 |
+
st.write("If you would like to learn more or work with us, please contact mtbaillie@ualr.edu")
|
| 944 |
+
|
| 945 |
+
with st.expander("Instructions and additional details"):
|
| 946 |
+
st.write("Thank you for viewing our experimental app! The overall presentations and features are expected to be improved over time, you can think of this as our first rough draft!")
|
| 947 |
+
st.write("To use this app:\n1. Upload an audio file for live analysis. Alternatively, you can upload an already generated [rttm file](https://stackoverflow.com/questions/30975084/rttm-file-format)")
|
| 948 |
+
st.write("2. Press Analyze All. Note that no data is saved on our side, so we will not have access to your recordings. Future versions of this app will support donating audio to us for aid in our research.")
|
| 949 |
+
st.write("3. Use the side bar on the left to select your file (may have to be expanded by clicking the > ). Our app supports uploading multiple files for more comprehensive analysis.")
|
| 950 |
+
st.write("4. Use the tabs provided to view different visualizations of your audio. Each example can be downloaded for personal use.")
|
| 951 |
+
st.write("\t4a. The graphs are built using [plotly](https://plotly.com/). This allows for a high degree of interaction. Feel free to experiment with the graphs, as you can always return to the original view by double-clicking on the graph. For more examples of easily supported visualizations, see [here](https://plotly.com/python/basic-charts/)")
|
| 952 |
+
|
| 953 |
+
with st.expander("(Potentially) FAQ"):
|
| 954 |
+
st.write(f"**I tried analyzing a file, but the page refreshed and nothing happened! Why?**\n\tYou may need to select a file using the side bar on the left. This app supports multiple files, so we require that you select which file to view after analysis.")
|
| 955 |
+
st.write(f"**I don't see a sidebar! Where is it?\n\tThe side bar may start by being minimized. Press the '>' in the upper left to expand the side bar.")
|
| 956 |
+
st.write(f"**I still don't have a file to select in the dropdown! Why?**\n\tIf you are sure that you have run Analyze All and after refresh no files may be selected, then your file is likely too large. We currently have a limitation of approximately 1.5 hours of audio. This is a known issue that requires additional time **or** money to solve, and is expected to be fixed by the next update of this app. Please be patient!")
|
| 957 |
+
st.write(f"**I want to be able to view my previously analyzed data! How can I do this?**\n\tYou can download a CSV copy of the data using the first tab. From there, you can reupload the CSV copy at a later date to view the data visualizations without having to use your original audio file. Future versions of this app will support creating optional logins for long term storage and analysis.")
|
| 958 |
+
st.write(f"**The app says 'TOOL CURRENTLY USING CPU, ANALYSIS EXTREMELY SLOW' and takes forever to analyze audio! What is wrong?**\n\tWe are currently in the process of securing funding to allow permanent public access to this tool. Until then, we can provide an interface to view already analyzed data without cost to you or us. While this mode will technically still work, it may take over a day to analyze your audio. Feel free to reach out to us to discuss temporary solutions to this until the app's funding is secured!")
|