Spaces:
				
			
			
	
			
			
					
		Running
		
			on 
			
			CPU Upgrade
	
	
	
			
			
	
	
	
	
		
		
					
		Running
		
			on 
			
			CPU Upgrade
	
		GitHub Actions
		
	commited on
		
		
					Commit 
							
							·
						
						e0ef4e5
	
1
								Parent(s):
							
							835c99d
								
Sync from GitHub repo
Browse files
    	
        models.py
    CHANGED
    
    | @@ -345,7 +345,7 @@ def get_leaderboard_data(model_type): | |
| 345 |  | 
| 346 | 
             
                # Get models with >350 votes ordered by ELO score
         | 
| 347 | 
             
                # Note: Model.match_count now only includes votes that count for public leaderboard
         | 
| 348 | 
            -
                models = query.filter(Model.match_count >  | 
| 349 |  | 
| 350 | 
             
                result = []
         | 
| 351 | 
             
                for rank, model in enumerate(models, 1):
         | 
| @@ -695,6 +695,14 @@ def insert_initial_models(): | |
| 695 | 
             
                        is_active=True,
         | 
| 696 | 
             
                        model_url="https://inworld.ai/tts",
         | 
| 697 | 
             
                    ),
         | 
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
| 698 | 
             
                    Model(
         | 
| 699 | 
             
                        id="async-1",
         | 
| 700 | 
             
                        name="CastleFlow v1.0",
         | 
|  | |
| 345 |  | 
| 346 | 
             
                # Get models with >350 votes ordered by ELO score
         | 
| 347 | 
             
                # Note: Model.match_count now only includes votes that count for public leaderboard
         | 
| 348 | 
            +
                models = query.filter(Model.match_count > 250).order_by(Model.current_elo.desc()).all()
         | 
| 349 |  | 
| 350 | 
             
                result = []
         | 
| 351 | 
             
                for rank, model in enumerate(models, 1):
         | 
|  | |
| 695 | 
             
                        is_active=True,
         | 
| 696 | 
             
                        model_url="https://inworld.ai/tts",
         | 
| 697 | 
             
                    ),
         | 
| 698 | 
            +
                    Model(
         | 
| 699 | 
            +
                        id="inworld-max",
         | 
| 700 | 
            +
                        name="Inworld TTS MAX",
         | 
| 701 | 
            +
                        model_type=ModelType.TTS,
         | 
| 702 | 
            +
                        is_open=False,
         | 
| 703 | 
            +
                        is_active=True,
         | 
| 704 | 
            +
                        model_url="https://inworld.ai/tts",
         | 
| 705 | 
            +
                    ),
         | 
| 706 | 
             
                    Model(
         | 
| 707 | 
             
                        id="async-1",
         | 
| 708 | 
             
                        name="CastleFlow v1.0",
         | 
    	
        tts.py
    CHANGED
    
    | @@ -97,7 +97,11 @@ model_mapping = { | |
| 97 | 
             
                },
         | 
| 98 | 
             
                "inworld": {
         | 
| 99 | 
             
                    "provider": "inworld",
         | 
| 100 | 
            -
                    "model": "inworld",
         | 
|  | |
|  | |
|  | |
|  | |
| 101 | 
             
                },
         | 
| 102 | 
             
                "wordcab": {
         | 
| 103 | 
             
                    "provider": "wordcab",
         | 
|  | |
| 97 | 
             
                },
         | 
| 98 | 
             
                "inworld": {
         | 
| 99 | 
             
                    "provider": "inworld",
         | 
| 100 | 
            +
                    "model": "inworld-tts-1",
         | 
| 101 | 
            +
                },
         | 
| 102 | 
            +
                "inworld-max": {
         | 
| 103 | 
            +
                    "provider": "inworld",
         | 
| 104 | 
            +
                    "model": "inworld-tts-1-max",
         | 
| 105 | 
             
                },
         | 
| 106 | 
             
                "wordcab": {
         | 
| 107 | 
             
                    "provider": "wordcab",
         | 
