awacke1 commited on
Commit
a893d2d
1 Parent(s): d0738fa

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -9,10 +9,11 @@ class YouTubeDownloader:
9
  option = st.selectbox('How would you like to be contacted for the download list?',('Email', 'Mobile phone'))
10
  st.write('You selected:', option)
11
  option2 = st.selectbox('Would you try one of these one minute AI generated science fiction short videos?',('https://www.youtube.com/watch?v=e4X1WueksH0&list=UUdKiy5xeO2JuWuIlE5nUaNw&index=14', 'https://www.youtube.com/watch?v=e4X1WueksH0&list=UUdKiy5xeO2JuWuIlE5nUaNw&index=13'))
 
 
12
  if option2:
13
  url=option2
14
- else:
15
- url = st.text_input("YouTube Video URL:")
16
  if url:
17
  YouTubeDownloader.validate_url(url)
18
  with st.expander("View"):
 
9
  option = st.selectbox('How would you like to be contacted for the download list?',('Email', 'Mobile phone'))
10
  st.write('You selected:', option)
11
  option2 = st.selectbox('Would you try one of these one minute AI generated science fiction short videos?',('https://www.youtube.com/watch?v=e4X1WueksH0&list=UUdKiy5xeO2JuWuIlE5nUaNw&index=14', 'https://www.youtube.com/watch?v=e4X1WueksH0&list=UUdKiy5xeO2JuWuIlE5nUaNw&index=13'))
12
+
13
+ url = st.text_input("YouTube Video URL:")
14
  if option2:
15
  url=option2
16
+
 
17
  if url:
18
  YouTubeDownloader.validate_url(url)
19
  with st.expander("View"):