gmanolache commited on
Commit
8ea6961
·
verified ·
1 Parent(s): af8610c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -85,7 +85,7 @@ class TorchPredictWrapper:
85
  def load_model(file_path: str):
86
  try:
87
  model = joblib.load(file_path)
88
- return SKLearnWrapper(model)
89
  except Exception as e1:
90
  try:
91
  with open(file_path, "rb") as f:
 
85
  def load_model(file_path: str):
86
  try:
87
  model = joblib.load(file_path)
88
+ return SKLearnWrapper(model) # now wrapping just clf
89
  except Exception as e1:
90
  try:
91
  with open(file_path, "rb") as f: