msaid1976 commited on
Commit
81eb495
·
verified ·
1 Parent(s): 932449b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -6
app.py CHANGED
@@ -1,19 +1,16 @@
1
  # from helper import load_image_from_url, render_results_in_image
 
 
 
2
  from transformers import pipeline
3
 
4
  from transformers.utils import logging
5
  logging.set_verbosity_error()
6
 
7
- from helper import ignore_warnings
8
- ignore_warnings()
9
-
10
  od_pipe = pipeline("object-detection", "facebook/detr-resnet-50")
11
-
12
  from PIL import Image
13
 
14
 
15
-
16
-
17
  import os
18
  import gradio as gr
19
 
 
1
  # from helper import load_image_from_url, render_results_in_image
2
+ # from helper import ignore_warnings
3
+ # ignore_warnings()
4
+
5
  from transformers import pipeline
6
 
7
  from transformers.utils import logging
8
  logging.set_verbosity_error()
9
 
 
 
 
10
  od_pipe = pipeline("object-detection", "facebook/detr-resnet-50")
 
11
  from PIL import Image
12
 
13
 
 
 
14
  import os
15
  import gradio as gr
16