xValentim commited on
Commit
0a6d7d4
·
1 Parent(s): e709ee5
Files changed (1) hide show
  1. app.py +1 -4
app.py CHANGED
@@ -13,10 +13,7 @@ def load_pickle(filename):
13
  return data
14
 
15
  # Load pickle file
16
- ml_components = load_pickle('my_model.pkl')
17
-
18
- # Components in the pickle file
19
- ml_model = ml_components['model']
20
 
21
  #Endpoints
22
  #Root endpoints
 
13
  return data
14
 
15
  # Load pickle file
16
+ ml_model = load_pickle('my_model.pkl')
 
 
 
17
 
18
  #Endpoints
19
  #Root endpoints