This commit is contained in:
		@@ -70,7 +70,7 @@ def run_classification(task, target_class_name: str):
 | 
			
		||||
    results = {
 | 
			
		||||
        "tag": task['tag'],
 | 
			
		||||
        "model": task['model'],
 | 
			
		||||
        "is_target": class_id == target_id,
 | 
			
		||||
        "is_target": bool(class_id == target_id),
 | 
			
		||||
        "probability": probability[target_id]
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user