Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -49,13 +49,13 @@ def main():
|
|
49 |
repetitive_terms = st.text_input("Enter repetitive terms (comma-separated):", value="Excel, Sql, Power Bi, Tableau, Python")
|
50 |
repetitive_terms = [term.strip().upper() for term in repetitive_terms.split(',')]
|
51 |
|
52 |
-
# Add an organize videos button
|
53 |
-
if st.button("Organize Videos"):
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
-
|
59 |
|
60 |
|
61 |
# Add an organize videos button
|
|
|
49 |
repetitive_terms = st.text_input("Enter repetitive terms (comma-separated):", value="Excel, Sql, Power Bi, Tableau, Python")
|
50 |
repetitive_terms = [term.strip().upper() for term in repetitive_terms.split(',')]
|
51 |
|
52 |
+
# Add an organize videos button
|
53 |
+
if st.button("Organize Videos"):
|
54 |
+
organized_doc = organize_videos(playlist_url, repetitive_terms)
|
55 |
+
|
56 |
+
# Provide a download link for the generated document
|
57 |
+
st.markdown(get_download_link(organized_doc), unsafe_allow_html=True)
|
58 |
+
display_organized_videos(organized_doc)
|
59 |
|
60 |
|
61 |
# Add an organize videos button
|