Commit
·
7986d52
1
Parent(s):
f7f95ee
Update app.py
Browse files
app.py
CHANGED
@@ -9,6 +9,7 @@ import gradio as gr
|
|
9 |
|
10 |
import os
|
11 |
os.system('wget https://huggingface.co/Armandoliv/cars-parts-segmentation-unet-resnet18/resolve/main/best_model.h5')
|
|
|
12 |
|
13 |
c= ['_background_', 'back_bumper', 'back_glass', 'back_left_door','back_left_light',
|
14 |
'back_right_door', 'back_right_light', 'front_bumper','front_glass',
|
|
|
9 |
|
10 |
import os
|
11 |
os.system('wget https://huggingface.co/Armandoliv/cars-parts-segmentation-unet-resnet18/resolve/main/best_model.h5')
|
12 |
+
os.system('pip -qq install pycocotools @ git+https://github.com/philferriere/cocoapi.git@2929bd2ef6b451054755dfd7ceb09278f935f7ad#subdirectory=PythonAPI')
|
13 |
|
14 |
c= ['_background_', 'back_bumper', 'back_glass', 'back_left_door','back_left_light',
|
15 |
'back_right_door', 'back_right_light', 'front_bumper','front_glass',
|