Spaces:
				
			
			
	
			
			
		Sleeping
		
	
	
	
			
			
	
	
	
	
		
		
		Sleeping
		
	Update app.py
Browse files
    	
        app.py
    CHANGED
    
    | 
         @@ -13,9 +13,8 @@ import google.generativeai as genai 
     | 
|
| 13 | 
         
             
            import json
         
     | 
| 14 | 
         | 
| 15 | 
         
             
            def authenticate(username, password):
         
     | 
| 16 | 
         
            -
                return  
     | 
| 17 | 
         
            -
             
     | 
| 18 | 
         
            -
             
     | 
| 19 | 
         
             
            # Helper Functions
         
     | 
| 20 | 
         
             
            def convert_to_rgb(image_path):
         
     | 
| 21 | 
         
             
                img = Image.open(image_path)
         
     | 
| 
         | 
|
| 13 | 
         
             
            import json
         
     | 
| 14 | 
         | 
| 15 | 
         
             
            def authenticate(username, password):
         
     | 
| 16 | 
         
            +
                return username == os.getenv("HF_USERNAME") and password == os.getenv("HF_PASSWORD")
         
     | 
| 17 | 
         
            +
                
         
     | 
| 
         | 
|
| 18 | 
         
             
            # Helper Functions
         
     | 
| 19 | 
         
             
            def convert_to_rgb(image_path):
         
     | 
| 20 | 
         
             
                img = Image.open(image_path)
         
     |