Update app.py
Browse files
app.py
CHANGED
@@ -1,6 +1,8 @@
|
|
|
|
|
|
1 |
from icevision.all import *
|
|
|
2 |
import PIL
|
3 |
-
import gradio as gr
|
4 |
|
5 |
class_map = ClassMap(['kangaroo'])
|
6 |
model = models.torchvision.faster_rcnn.model(backbone=models.torchvision.faster_rcnn.backbones.resnet50_fpn,
|
|
|
1 |
+
import gradio as gr
|
2 |
+
from fastai.vision.all import *
|
3 |
from icevision.all import *
|
4 |
+
from icevision.models.checkpoint import *
|
5 |
import PIL
|
|
|
6 |
|
7 |
class_map = ClassMap(['kangaroo'])
|
8 |
model = models.torchvision.faster_rcnn.model(backbone=models.torchvision.faster_rcnn.backbones.resnet50_fpn,
|