work
Browse files
    	
        app.py
    CHANGED
    
    | @@ -18,7 +18,7 @@ model = TFSegformerForSemanticSegmentation.from_pretrained( | |
| 18 | 
             
            def ade_palette():
         | 
| 19 | 
             
                """ADE20K palette that maps each class to RGB values."""
         | 
| 20 | 
             
                return [
         | 
| 21 | 
            -
                    [204, 87,  | 
| 22 | 
             
                    [112, 185, 212],
         | 
| 23 | 
             
                    [45, 189, 106],
         | 
| 24 | 
             
                    [234, 123, 67],
         | 
|  | |
| 18 | 
             
            def ade_palette():
         | 
| 19 | 
             
                """ADE20K palette that maps each class to RGB values."""
         | 
| 20 | 
             
                return [
         | 
| 21 | 
            +
                    [204, 87, 91],
         | 
| 22 | 
             
                    [112, 185, 212],
         | 
| 23 | 
             
                    [45, 189, 106],
         | 
| 24 | 
             
                    [234, 123, 67],
         |