Spaces:
Paused
Paused
Update api/ltx/ltx_aduc_pipeline.py
Browse files
api/ltx/ltx_aduc_pipeline.py
CHANGED
|
@@ -31,15 +31,17 @@ from tools.video_encode_tool import video_encode_tool_singleton
|
|
| 31 |
# ==============================================================================
|
| 32 |
|
| 33 |
# Configuração de logging e supressão de warnings
|
|
|
|
| 34 |
import warnings
|
| 35 |
warnings.filterwarnings("ignore", category=UserWarning)
|
| 36 |
warnings.filterwarnings("ignore", category=FutureWarning)
|
| 37 |
warnings.filterwarnings("ignore", message=".*")
|
| 38 |
-
from huggingface_hub import logging
|
| 39 |
-
|
| 40 |
-
|
| 41 |
-
|
| 42 |
-
|
|
|
|
| 43 |
|
| 44 |
|
| 45 |
# --- Constantes de Configuração ---
|
|
|
|
| 31 |
# ==============================================================================
|
| 32 |
|
| 33 |
# Configuração de logging e supressão de warnings
|
| 34 |
+
import logging
|
| 35 |
import warnings
|
| 36 |
warnings.filterwarnings("ignore", category=UserWarning)
|
| 37 |
warnings.filterwarnings("ignore", category=FutureWarning)
|
| 38 |
warnings.filterwarnings("ignore", message=".*")
|
| 39 |
+
from huggingface_hub import logging as ll
|
| 40 |
+
ll.set_verbosity_error()
|
| 41 |
+
ll.set_verbosity_warning()
|
| 42 |
+
ll.set_verbosity_info()
|
| 43 |
+
ll.set_verbosity_debug()
|
| 44 |
+
|
| 45 |
|
| 46 |
|
| 47 |
# --- Constantes de Configuração ---
|