vidhiparikh commited on
Commit
216a819
1 Parent(s): 75a6098

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -1,8 +1,8 @@
1
  import pickle
2
  import gradio as gr
3
- from sklearn.metrics import classification_report
4
- from sklearn.model_selection import train_test_split
5
- from sklearn.linear_model import LogisticRegression
6
  def make_prediction(age1,gender1,occupation1,line_of_work1,time_bp1,time_dp1,travel_time1,easeof_online1,home_env1,prod_inc1,sleep_bal1,new_skill1,fam_connect1,relaxed1,self_time1,like_hw1,dislike_hw1,certaindays_hw1):
7
  #print(age1+gender1+occupation1+line_of_work1+time_bp1+time_dp1+travel_time1+easeof_online1+home_env1+prod_inc1+sleep_bal1+new_skill1+fam_connect1+relaxed1+self_time1+like_hw1+dislike_hw1+certaindays_hw1)
8
  print(age1+gender1+occupation1+line_of_work1+certaindays_hw1)
 
1
  import pickle
2
  import gradio as gr
3
+ #from sklearn.metrics import classification_report
4
+ #from sklearn.model_selection import train_test_split
5
+ #from sklearn.linear_model import LogisticRegression
6
  def make_prediction(age1,gender1,occupation1,line_of_work1,time_bp1,time_dp1,travel_time1,easeof_online1,home_env1,prod_inc1,sleep_bal1,new_skill1,fam_connect1,relaxed1,self_time1,like_hw1,dislike_hw1,certaindays_hw1):
7
  #print(age1+gender1+occupation1+line_of_work1+time_bp1+time_dp1+travel_time1+easeof_online1+home_env1+prod_inc1+sleep_bal1+new_skill1+fam_connect1+relaxed1+self_time1+like_hw1+dislike_hw1+certaindays_hw1)
8
  print(age1+gender1+occupation1+line_of_work1+certaindays_hw1)