Update app.py
Browse files
app.py
CHANGED
|
@@ -5,6 +5,10 @@ from datetime import datetime
|
|
| 5 |
from typing import Literal, Annotated
|
| 6 |
from pydantic import BaseModel, Field
|
| 7 |
from huggingface_hub import hf_hub_download
|
|
|
|
|
|
|
|
|
|
|
|
|
| 8 |
|
| 9 |
# ===============================
|
| 10 |
# Hugging Face model config
|
|
|
|
| 5 |
from typing import Literal, Annotated
|
| 6 |
from pydantic import BaseModel, Field
|
| 7 |
from huggingface_hub import hf_hub_download
|
| 8 |
+
import warnings
|
| 9 |
+
from sklearn.exceptions import InconsistentVersionWarning
|
| 10 |
+
|
| 11 |
+
warnings.filterwarnings("ignore", category=InconsistentVersionWarning)
|
| 12 |
|
| 13 |
# ===============================
|
| 14 |
# Hugging Face model config
|