samithcs commited on
Commit
50933c0
·
verified ·
1 Parent(s): ff51779

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -0
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