Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Update app.py
Browse files
app.py
CHANGED
@@ -4,7 +4,7 @@ import gradio as gr
|
|
4 |
from huggingface_hub import from_pretrained_keras
|
5 |
import cv2
|
6 |
|
7 |
-
model = from_pretrained_keras("
|
8 |
|
9 |
colormap = np.array([[0,0,0], [31,119,180], [44,160,44], [44, 127, 125], [52, 225, 143],
|
10 |
[217, 222, 163], [254, 128, 37], [130, 162, 128], [121, 7, 166], [136, 183, 248],
|
|
|
4 |
from huggingface_hub import from_pretrained_keras
|
5 |
import cv2
|
6 |
|
7 |
+
model = from_pretrained_keras("keras-io/deeplabv3p-resnet50")
|
8 |
|
9 |
colormap = np.array([[0,0,0], [31,119,180], [44,160,44], [44, 127, 125], [52, 225, 143],
|
10 |
[217, 222, 163], [254, 128, 37], [130, 162, 128], [121, 7, 166], [136, 183, 248],
|