eeuuia commited on
Commit
4da4d44
·
verified ·
1 Parent(s): a18d7a7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +11 -0
app.py CHANGED
@@ -11,6 +11,17 @@ import logging
11
  from typing import List
12
  from PIL import Image as PILImage
13
 
 
 
 
 
 
 
 
 
 
 
 
14
  # ==============================================================================
15
  # --- IMPORTAÇÃO DOS SERVIÇOS DE BACKEND E UTILS (CAMINHOS ATUALIZADOS) ---
16
  # ==============================================================================
 
11
  from typing import List
12
  from PIL import Image as PILImage
13
 
14
+
15
+ import warnings
16
+ warnings.filterwarnings("ignore", category=UserWarning)
17
+ warnings.filterwarnings("ignore", category=FutureWarning)
18
+ warnings.filterwarnings("ignore", message=".*")
19
+ from huggingface_hub import logging
20
+ logging.set_verbosity_error()
21
+ logging.set_verbosity_warning()
22
+ logging.set_verbosity_info()
23
+ logging.set_verbosity_debug()
24
+
25
  # ==============================================================================
26
  # --- IMPORTAÇÃO DOS SERVIÇOS DE BACKEND E UTILS (CAMINHOS ATUALIZADOS) ---
27
  # ==============================================================================