Spaces:
				
			
			
	
			
			
		Runtime error
		
	
	
	
			
			
	
	
	
	
		
		
		Runtime error
		
	Fixed code to pull latest benchmark
Browse files
    	
        utils.py
    CHANGED
    
    | @@ -295,7 +295,7 @@ def get_benchmarks() -> Tuple[pd.DataFrame, datetime.datetime]: | |
| 295 | 
             
                    bt.logging.error("No benchmark project set.")
         | 
| 296 | 
             
                    return None, None
         | 
| 297 | 
             
                runs = get_wandb_runs(project=BENCHMARK_WANDB_PROJECT, filters=None)
         | 
| 298 | 
            -
                for run in runs:
         | 
| 299 | 
             
                    artifacts = list(run.logged_artifacts())
         | 
| 300 | 
             
                    if artifacts:
         | 
| 301 | 
             
                        table = artifacts[-1].get("benchmarks")
         | 
|  | |
| 295 | 
             
                    bt.logging.error("No benchmark project set.")
         | 
| 296 | 
             
                    return None, None
         | 
| 297 | 
             
                runs = get_wandb_runs(project=BENCHMARK_WANDB_PROJECT, filters=None)
         | 
| 298 | 
            +
                for run in list(runs):
         | 
| 299 | 
             
                    artifacts = list(run.logged_artifacts())
         | 
| 300 | 
             
                    if artifacts:
         | 
| 301 | 
             
                        table = artifacts[-1].get("benchmarks")
         | 
