Gowthamvemula commited on
Commit
469be50
·
verified ·
1 Parent(s): 941ae6f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -3,12 +3,12 @@ import pickle
3
  import numpy as np
4
 
5
  # store the pickle data in a file named 'payload.pkl'
6
- with open('log_reg_pkl', 'wb') as f:
7
  pickle.dump(var, f)
8
 
9
  # disassemble the pickle
10
  # and print the instructions to the command line
11
- with open('log_reg.pkl', 'rb') as f:
12
  pickletools.dis(f)
13
 
14
  # Define prediction function
 
3
  import numpy as np
4
 
5
  # store the pickle data in a file named 'payload.pkl'
6
+ with open('log_reg_model.pkl', 'wb') as f:
7
  pickle.dump(var, f)
8
 
9
  # disassemble the pickle
10
  # and print the instructions to the command line
11
+ with open('log_reg_model.pkl', 'rb') as f:
12
  pickletools.dis(f)
13
 
14
  # Define prediction function