ArpitChb commited on
Commit
0962feb
·
verified ·
1 Parent(s): dd04046

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -0
app.py CHANGED
@@ -2,6 +2,12 @@ import gradio as gr
2
  import pandas as pd
3
  import pickle
4
  import numpy as np
 
 
 
 
 
 
5
 
6
  # Load your ML model (replace 'model.pkl' with your model file)
7
  with open("model.pkl", "rb") as model_file:
 
2
  import pandas as pd
3
  import pickle
4
  import numpy as np
5
+ import numpy as np
6
+ import pandas as pd
7
+ from sklearn.model_selection import train_test_split
8
+ from sklearn.preprocessing import StandardScaler
9
+ from sklearn.linear_model import LogisticRegression
10
+ from sklearn.metrics import accuracy_score
11
 
12
  # Load your ML model (replace 'model.pkl' with your model file)
13
  with open("model.pkl", "rb") as model_file: