DraconicDragon commited on
Commit
6cdaa23
·
verified ·
1 Parent(s): 18120fc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -18,6 +18,9 @@ from fetch_url_util import fetch_image_from_url
18
  logging.basicConfig(level=logging.INFO, format='%(asctime)s - %(name)s - %(message)s')
19
  logger = logging.getLogger("PixAITagger")
20
 
 
 
 
21
  # Constants
22
  MODEL_REPO = "deepghs/pixai-tagger-v0.9-onnx"
23
  MODEL_FILENAME = "model.onnx"
 
18
  logging.basicConfig(level=logging.INFO, format='%(asctime)s - %(name)s - %(message)s')
19
  logger = logging.getLogger("PixAITagger")
20
 
21
+ logging.getLogger().setLevel(logging.WARNING)
22
+ logging.getLogger("PixAITagger").setLevel(logging.INFO)
23
+
24
  # Constants
25
  MODEL_REPO = "deepghs/pixai-tagger-v0.9-onnx"
26
  MODEL_FILENAME = "model.onnx"