Spaces:
				
			
			
	
			
			
		Runtime error
		
	
	
	
			
			
	
	
	
	
		
		
		Runtime error
		
	Update app.py
Browse files
    	
        app.py
    CHANGED
    
    | 
         @@ -5,6 +5,9 @@ class YouTubeDownloader: 
     | 
|
| 5 | 
         
             
                @staticmethod
         
     | 
| 6 | 
         
             
                def run():
         
     | 
| 7 | 
         
             
                    st.header("Video View and Download")
         
     | 
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 8 | 
         
             
                    url = st.text_input("YouTube Video URL:")
         
     | 
| 9 | 
         
             
                    if url:
         
     | 
| 10 | 
         
             
                        YouTubeDownloader.validate_url(url)
         
     | 
| 
         | 
|
| 5 | 
         
             
                @staticmethod
         
     | 
| 6 | 
         
             
                def run():
         
     | 
| 7 | 
         
             
                    st.header("Video View and Download")
         
     | 
| 8 | 
         
            +
                    option = st.selectbox('How would you like to be contacted for the download list?',('Email', 'Mobile phone'))
         
     | 
| 9 | 
         
            +
             
     | 
| 10 | 
         
            +
                    st.write('You selected:', option)
         
     | 
| 11 | 
         
             
                    url = st.text_input("YouTube Video URL:")
         
     | 
| 12 | 
         
             
                    if url:
         
     | 
| 13 | 
         
             
                        YouTubeDownloader.validate_url(url)
         
     |