Spaces:
				
			
			
	
			
			
		Runtime error
		
	
	
	
			
			
	
	
	
	
		
		
		Runtime error
		
	Update app.py
Browse files
    	
        app.py
    CHANGED
    
    | @@ -98,7 +98,7 @@ def sahi_yolov5_inference( | |
| 98 | 
             
                    return results.render()[0]
         | 
| 99 |  | 
| 100 | 
             
                elif model_type == "Unet-Istanbul":
         | 
| 101 | 
            -
                    import unet_prediction
         | 
| 102 |  | 
| 103 | 
             
                    output = unet_prediction(input_path=image, model_path=model_id)
         | 
| 104 | 
             
                    return output
         | 
|  | |
| 98 | 
             
                    return results.render()[0]
         | 
| 99 |  | 
| 100 | 
             
                elif model_type == "Unet-Istanbul":
         | 
| 101 | 
            +
                    from ististanbul_unet import unet_prediction
         | 
| 102 |  | 
| 103 | 
             
                    output = unet_prediction(input_path=image, model_path=model_id)
         | 
| 104 | 
             
                    return output
         | 
 
			

