kmckee95 commited on
Commit
553c03a
1 Parent(s): 08e38f9

Update dashboard.py

Browse files
Files changed (1) hide show
  1. dashboard.py +9 -0
dashboard.py CHANGED
@@ -6,6 +6,15 @@ import matplotlib.pyplot as plt
6
  import seaborn as sns
7
  print('Loading......')
8
 
 
 
 
 
 
 
 
 
 
9
  # load the saved model
10
  rfc_saved = pickle.load(open('rfc.pickle','rb'))
11
 
 
6
  import seaborn as sns
7
  print('Loading......')
8
 
9
+ #login feature
10
+ for i in range (40,0 ,0-1):
11
+ passwordAttempt = input("Enter Password: ")
12
+ if passwordAttempt == "admin":
13
+ break
14
+ else:
15
+ print("Incorrect credentials")
16
+ print('Loading......')
17
+
18
  # load the saved model
19
  rfc_saved = pickle.load(open('rfc.pickle','rb'))
20