Spaces:
				
			
			
	
			
			
		Runtime error
		
	
	
	
			
			
	
	
	
	
		
		
		Runtime error
		
	Update app.py
Browse files
    	
        app.py
    CHANGED
    
    | @@ -11,7 +11,7 @@ title="Whisper to Emotion" | |
| 11 |  | 
| 12 | 
             
            device = torch.device("cuda:0" if torch.cuda.is_available() else "cpu")
         | 
| 13 |  | 
| 14 | 
            -
            whisper = gr.Interface.load(name="spaces/ | 
| 15 |  | 
| 16 | 
             
            emotion_classifier = pipeline("text-classification",model='bhadresh-savani/distilbert-base-uncased-emotion')
         | 
| 17 |  | 
|  | |
| 11 |  | 
| 12 | 
             
            device = torch.device("cuda:0" if torch.cuda.is_available() else "cpu")
         | 
| 13 |  | 
| 14 | 
            +
            whisper = gr.Interface.load(name="spaces/openai/whisper")
         | 
| 15 |  | 
| 16 | 
             
            emotion_classifier = pipeline("text-classification",model='bhadresh-savani/distilbert-base-uncased-emotion')
         | 
| 17 |  | 
