Spaces:
				
			
			
	
			
			
		Runtime error
		
	
	
	
			
			
	
	
	
	
		
		
		Runtime error
		
	Commit 
							
							·
						
						543c26b
	
1
								Parent(s):
							
							1cd7ed4
								
Update app.py
Browse files
    	
        app.py
    CHANGED
    
    | 
         @@ -24,7 +24,7 @@ tester(emo) 
     | 
|
| 24 | 
         
             
            generator = st.button("Generate Song!")
         
     | 
| 25 | 
         | 
| 26 | 
         
             
            if (generator == True):
         
     | 
| 27 | 
         
            -
               
     | 
| 28 | 
         
             
                with open('angryplaylist.txt') as f:
         
     | 
| 29 | 
         
             
                  contents = f.read()
         
     | 
| 30 | 
         
             
                components.html(contents,width=560,height=325)   
         
     | 
| 
         | 
|
| 24 | 
         
             
            generator = st.button("Generate Song!")
         
     | 
| 25 | 
         | 
| 26 | 
         
             
            if (generator == True):
         
     | 
| 27 | 
         
            +
              if (results[0]['label']=="anger"): #songs for anger emotion
         
     | 
| 28 | 
         
             
                with open('angryplaylist.txt') as f:
         
     | 
| 29 | 
         
             
                  contents = f.read()
         
     | 
| 30 | 
         
             
                components.html(contents,width=560,height=325)   
         
     |