chethu commited on
Commit
b0bcf88
1 Parent(s): 27246f8

Update app (1).py

Browse files
Files changed (1) hide show
  1. app (1).py +4 -4
app (1).py CHANGED
@@ -4,10 +4,6 @@ import gradio as gr
4
  from helper import load_image_from_url, render_results_in_image
5
  from helper import summarize_predictions_natural_language
6
  from transformers import pipeline
7
- from transformers.utils import logging
8
- logging.set_verbosity_error()
9
-
10
- from helper import summarize_predictions_natural_language, render_results_in_image
11
  from tokenizers import Tokenizer, Encoding
12
  from tokenizers import decoders
13
  from tokenizers import models
@@ -20,6 +16,10 @@ import inflect
20
  from predictions import get_predictions
21
  from helper import ignore_warnings
22
  ignore_warnings()
 
 
 
 
23
 
24
 
25
 
 
4
  from helper import load_image_from_url, render_results_in_image
5
  from helper import summarize_predictions_natural_language
6
  from transformers import pipeline
 
 
 
 
7
  from tokenizers import Tokenizer, Encoding
8
  from tokenizers import decoders
9
  from tokenizers import models
 
16
  from predictions import get_predictions
17
  from helper import ignore_warnings
18
  ignore_warnings()
19
+ from transformers.utils import logging
20
+ logging.set_verbosity_error()
21
+
22
+
23
 
24
 
25