Spaces:
				
			
			
	
			
			
		Sleeping
		
	
	
	
			
			
	
	
	
	
		
		
		Sleeping
		
	Update app.py
Browse files
    	
        app.py
    CHANGED
    
    | 
         @@ -3,7 +3,7 @@ from transformers import pipeline 
     | 
|
| 3 | 
         | 
| 4 | 
         
             
            # Load models
         
     | 
| 5 | 
         
             
            vit_classifier = pipeline("image-classification", model="lindritdev/vit-base-oxford-iiit-pets")
         
     | 
| 6 | 
         
            -
            clip_detector = pipeline(model=" 
     | 
| 7 | 
         | 
| 8 | 
         
             
            labels_oxford_pets = [
         
     | 
| 9 | 
         
             
                'Siamese', 'Birman', 'shiba inu', 'staffordshire bull terrier', 'basset hound', 'Bombay', 'japanese chin',
         
     | 
| 
         | 
|
| 3 | 
         | 
| 4 | 
         
             
            # Load models
         
     | 
| 5 | 
         
             
            vit_classifier = pipeline("image-classification", model="lindritdev/vit-base-oxford-iiit-pets")
         
     | 
| 6 | 
         
            +
            clip_detector = pipeline(model="google/siglip2-so400m-patch14-384", task="zero-shot-image-classification")
         
     | 
| 7 | 
         | 
| 8 | 
         
             
            labels_oxford_pets = [
         
     | 
| 9 | 
         
             
                'Siamese', 'Birman', 'shiba inu', 'staffordshire bull terrier', 'basset hound', 'Bombay', 'japanese chin',
         
     |