Spaces:
Sleeping
Sleeping
brandonongsc
commited on
Commit
•
01d2608
1
Parent(s):
fff3741
Update app.py
Browse files
app.py
CHANGED
@@ -12,7 +12,7 @@ import gradio as gr
|
|
12 |
from huggingface_hub import snapshot_download
|
13 |
import os
|
14 |
|
15 |
-
PATH_TO_LABELS = '
|
16 |
category_index = label_map_util.create_category_index_from_labelmap(PATH_TO_LABELS, use_display_name=True)
|
17 |
|
18 |
def pil_image_as_numpy_array(pilimg):
|
|
|
12 |
from huggingface_hub import snapshot_download
|
13 |
import os
|
14 |
|
15 |
+
PATH_TO_LABELS = 'label_map.pbtxt'
|
16 |
category_index = label_map_util.create_category_index_from_labelmap(PATH_TO_LABELS, use_display_name=True)
|
17 |
|
18 |
def pil_image_as_numpy_array(pilimg):
|