mirror of
				https://github.com/blakeblackshear/frigate.git
				synced 2025-10-27 10:52:11 +01:00 
			
		
		
		
	Fix check
This commit is contained in:
		
							parent
							
								
									4502543252
								
							
						
					
					
						commit
						cec52ff907
					
				@ -183,7 +183,7 @@ class FaceClassificationModel:
 | 
			
		||||
 | 
			
		||||
        res = self.classifier.predict([embedding])
 | 
			
		||||
 | 
			
		||||
        if not res:
 | 
			
		||||
        if res is None:
 | 
			
		||||
            return None
 | 
			
		||||
 | 
			
		||||
        label = res[0]
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user