smitathkr1 commited on
Commit
c0d62ac
Β·
verified Β·
1 Parent(s): b2ec646

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -3
app.py CHANGED
@@ -43,14 +43,12 @@ def login_user(username, password):
43
  def show_dropdown(user_logged_in):
44
  if user_logged_in:
45
 
46
- options = ["Select Page", "πŸŽ₯ Notes Maker from Video and Audio", "πŸ“š Notes Generator from PDF",'Search']
47
  choice = st.sidebar.selectbox("Choose an option:", options)
48
 
49
  # Check if a selection has been made and display content accordingly
50
  if choice == "πŸŽ₯ Notes Maker from Video and Audio":
51
  youtube_to_notes()
52
- if choice == "Search":
53
- search()
54
  elif choice == "πŸ“š Notes Generator from PDF":
55
  st.header("Notes Generator from PDF")
56
  notes_maker()
 
43
  def show_dropdown(user_logged_in):
44
  if user_logged_in:
45
 
46
+ options = ["Select Page", "πŸŽ₯ Notes Maker from Video and Audio", "πŸ“š Notes Generator from PDF"]
47
  choice = st.sidebar.selectbox("Choose an option:", options)
48
 
49
  # Check if a selection has been made and display content accordingly
50
  if choice == "πŸŽ₯ Notes Maker from Video and Audio":
51
  youtube_to_notes()
 
 
52
  elif choice == "πŸ“š Notes Generator from PDF":
53
  st.header("Notes Generator from PDF")
54
  notes_maker()