Spaces:
				
			
			
	
			
			
		Runtime error
		
	
	
	
			
			
	
	
	
	
		
		
		Runtime error
		
	Update tts.py
Browse files
    	
        tts.py
    CHANGED
    
    | 
         @@ -25,7 +25,7 @@ TTS_LANGUAGES = {} 
     | 
|
| 25 | 
         
             
            with open(f"data/tts/all_langs.tsv") as f:
         
     | 
| 26 | 
         
             
                for line in f:
         
     | 
| 27 | 
         
             
                    iso, name = line.split(" ", 1)
         
     | 
| 28 | 
         
            -
                    TTS_LANGUAGES[iso] = name
         
     | 
| 29 | 
         | 
| 30 | 
         | 
| 31 | 
         
             
            class TextMapper(object):
         
     | 
| 
         | 
|
| 25 | 
         
             
            with open(f"data/tts/all_langs.tsv") as f:
         
     | 
| 26 | 
         
             
                for line in f:
         
     | 
| 27 | 
         
             
                    iso, name = line.split(" ", 1)
         
     | 
| 28 | 
         
            +
                    TTS_LANGUAGES[iso.strip()] = name.strip()
         
     | 
| 29 | 
         | 
| 30 | 
         | 
| 31 | 
         
             
            class TextMapper(object):
         
     |