fawadrashid
commited on
Commit
•
c545edf
1
Parent(s):
7017691
Update app.py
Browse files
app.py
CHANGED
@@ -5,6 +5,9 @@ from transformers import pipeline
|
|
5 |
from transformers.utils import logging
|
6 |
logging.set_verbosity_error()
|
7 |
|
|
|
|
|
|
|
8 |
|
9 |
od_pipe = pipeline("object-detection", "./models/facebook/detr-resnet-50")
|
10 |
|
|
|
5 |
from transformers.utils import logging
|
6 |
logging.set_verbosity_error()
|
7 |
|
8 |
+
from helper import ignore_warnings
|
9 |
+
ignore_warnings()
|
10 |
+
|
11 |
|
12 |
od_pipe = pipeline("object-detection", "./models/facebook/detr-resnet-50")
|
13 |
|