Spaces:
				
			
			
	
			
			
					
		Running
		
	
	
	
			
			
	
	
	
	
		
		
					
		Running
		
	Updated the deprecated part
Browse files
    	
        app.py
    CHANGED
    
    | @@ -99,8 +99,8 @@ def predict(image): | |
| 99 | 
             
                    output["confidence"] = round(output["confidence"], 4)
         | 
| 100 | 
             
                return prediction
         | 
| 101 |  | 
| 102 | 
            -
            inputs = gr. | 
| 103 | 
            -
            outputs = gr. | 
| 104 |  | 
| 105 | 
             
            description = "This is a web interface for the Naked Detector model. Upload an image and get predictions for the presence of nudity. \n This model and website are created by KUO SUKO, C110156115 NKUST."
         | 
| 106 |  | 
|  | |
| 99 | 
             
                    output["confidence"] = round(output["confidence"], 4)
         | 
| 100 | 
             
                return prediction
         | 
| 101 |  | 
| 102 | 
            +
            inputs = gr.Image(type="pil")
         | 
| 103 | 
            +
            outputs = gr.JSON()
         | 
| 104 |  | 
| 105 | 
             
            description = "This is a web interface for the Naked Detector model. Upload an image and get predictions for the presence of nudity. \n This model and website are created by KUO SUKO, C110156115 NKUST."
         | 
| 106 |  | 
