rasmodev commited on
Commit
e46d45d
·
1 Parent(s): b80c4f5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -7
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
- 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
 
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