Spaces:
Build error
Build error
Commit ·
df1bd86
1
Parent(s): 5d56900
clean up
Browse files
streamlit_app/words_page.py
CHANGED
|
@@ -4,9 +4,5 @@ from util import display_filtered_dataframe
|
|
| 4 |
if ('word_df' in st.session_state) and (st.session_state.word_df is not None):
|
| 5 |
# Display both dataframes
|
| 6 |
display_filtered_dataframe(st.session_state.word_df, "Words", ['Translation_Language', 'Source_Language'])
|
| 7 |
-
st.markdown("---")
|
| 8 |
-
if st.button("Download Vocabulary"):
|
| 9 |
-
# TODO: Implement download functionality
|
| 10 |
-
st.text_input("Enter your email:", key="download_email")
|
| 11 |
else:
|
| 12 |
st.write("No words yet, go chat with your AI Assistant!")
|
|
|
|
| 4 |
if ('word_df' in st.session_state) and (st.session_state.word_df is not None):
|
| 5 |
# Display both dataframes
|
| 6 |
display_filtered_dataframe(st.session_state.word_df, "Words", ['Translation_Language', 'Source_Language'])
|
|
|
|
|
|
|
|
|
|
|
|
|
| 7 |
else:
|
| 8 |
st.write("No words yet, go chat with your AI Assistant!")
|