Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -26,7 +26,7 @@ api = HfApi()
26
  # model with the filename 'model.joblib'
27
  os.system("python train.py")
28
  # Load the freshly trained model from disk
29
- joblib.load('model.joblib')
30
  # Prepare the logging functionality
31
  log_file = Path("logs/") / f"data_{uuid.uuid4()}.json"
32
  log_folder = log_file.parent
 
26
  # model with the filename 'model.joblib'
27
  os.system("python train.py")
28
  # Load the freshly trained model from disk
29
+ model = joblib.load('model.joblib')
30
  # Prepare the logging functionality
31
  log_file = Path("logs/") / f"data_{uuid.uuid4()}.json"
32
  log_folder = log_file.parent