Spaces:
				
			
			
	
			
			
		Runtime error
		
	
	
	
			
			
	
	
	
	
		
		
		Runtime error
		
	Update app.py
Browse files
    	
        app.py
    CHANGED
    
    | @@ -39,7 +39,7 @@ DEFAULT_TARGET_LANGUAGE = "French" | |
| 39 |  | 
| 40 | 
             
            device = torch.device("cuda:0" if torch.cuda.is_available() else "cpu")
         | 
| 41 | 
             
            translator = Translator(
         | 
| 42 | 
            -
                model_name_or_card=" | 
| 43 | 
             
                vocoder_name_or_card="vocoder_36langs",
         | 
| 44 | 
             
                device=device,
         | 
| 45 | 
             
                sample_rate=AUDIO_SAMPLE_RATE,
         | 
|  | |
| 39 |  | 
| 40 | 
             
            device = torch.device("cuda:0" if torch.cuda.is_available() else "cpu")
         | 
| 41 | 
             
            translator = Translator(
         | 
| 42 | 
            +
                model_name_or_card="seamlessM4T_large",
         | 
| 43 | 
             
                vocoder_name_or_card="vocoder_36langs",
         | 
| 44 | 
             
                device=device,
         | 
| 45 | 
             
                sample_rate=AUDIO_SAMPLE_RATE,
         | 
 
			
