Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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"
|
| 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()
|