arifulamin commited on
Commit
3d7e03d
·
verified ·
1 Parent(s): b09493b

Sync App files

Browse files
Files changed (2) hide show
  1. README.md +0 -4
  2. app.py +0 -7
README.md CHANGED
@@ -1,7 +1,3 @@
1
- ---
2
- license: apache-2.0
3
- sdk: gradio
4
- ---
5
  title: Drug Classification
6
  emoji: 📉
7
  colorFrom: purple
 
 
 
 
 
1
  title: Drug Classification
2
  emoji: 📉
3
  colorFrom: purple
app.py CHANGED
@@ -1,16 +1,9 @@
1
  import gradio as gr
2
- import warnings
3
- from sklearn.exceptions import InconsistentVersionWarning
4
-
5
-
6
  import joblib
7
 
8
 
9
 
10
 
11
- # Suppress the version warnings
12
- warnings.filterwarnings("ignore", category=InconsistentVersionWarning)
13
-
14
  # Explicitly specify trusted types
15
  trusted_types = [
16
  "sklearn.pipeline.Pipeline",
 
1
  import gradio as gr
 
 
 
 
2
  import joblib
3
 
4
 
5
 
6
 
 
 
 
7
  # Explicitly specify trusted types
8
  trusted_types = [
9
  "sklearn.pipeline.Pipeline",