Spaces:
				
			
			
	
			
			
		Sleeping
		
	
	
	
			
			
	
	
	
	
		
		
		Sleeping
		
	Upload 2 files
Browse files- vits/text/cantonese.py +1 -1
 - vits/text/shanghainese.py +1 -1
 
    	
        vits/text/cantonese.py
    CHANGED
    
    | 
         @@ -3,7 +3,7 @@ import cn2an 
     | 
|
| 3 | 
         
             
            import opencc
         
     | 
| 4 | 
         
             
            import config
         
     | 
| 5 | 
         | 
| 6 | 
         
            -
            converter = opencc.OpenCC(config.ABS_PATH + '/chinese_dialect_lexicons/jyutjyu_2')
         
     | 
| 7 | 
         | 
| 8 | 
         
             
            # List of (Latin alphabet, ipa) pairs:
         
     | 
| 9 | 
         
             
            _latin_to_ipa = [(re.compile('%s' % x[0]), x[1]) for x in [
         
     | 
| 
         | 
|
| 3 | 
         
             
            import opencc
         
     | 
| 4 | 
         
             
            import config
         
     | 
| 5 | 
         | 
| 6 | 
         
            +
            converter = opencc.OpenCC(config.ABS_PATH + '/vits/text/chinese_dialect_lexicons/jyutjyu_2')
         
     | 
| 7 | 
         | 
| 8 | 
         
             
            # List of (Latin alphabet, ipa) pairs:
         
     | 
| 9 | 
         
             
            _latin_to_ipa = [(re.compile('%s' % x[0]), x[1]) for x in [
         
     | 
    	
        vits/text/shanghainese.py
    CHANGED
    
    | 
         @@ -3,7 +3,7 @@ import cn2an 
     | 
|
| 3 | 
         
             
            import opencc
         
     | 
| 4 | 
         
             
            import config
         
     | 
| 5 | 
         | 
| 6 | 
         
            -
            converter = opencc.OpenCC(config.ABS_PATH + '/chinese_dialect_lexicons/zaonhe')
         
     | 
| 7 | 
         | 
| 8 | 
         
             
            # List of (Latin alphabet, ipa) pairs:
         
     | 
| 9 | 
         
             
            _latin_to_ipa = [(re.compile('%s' % x[0]), x[1]) for x in [
         
     | 
| 
         | 
|
| 3 | 
         
             
            import opencc
         
     | 
| 4 | 
         
             
            import config
         
     | 
| 5 | 
         | 
| 6 | 
         
            +
            converter = opencc.OpenCC(config.ABS_PATH + '/vits/text/chinese_dialect_lexicons/zaonhe')
         
     | 
| 7 | 
         | 
| 8 | 
         
             
            # List of (Latin alphabet, ipa) pairs:
         
     | 
| 9 | 
         
             
            _latin_to_ipa = [(re.compile('%s' % x[0]), x[1]) for x in [
         
     |