SharleyK commited on
Commit
24f2130
·
verified ·
1 Parent(s): fdb8446

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -54,6 +54,9 @@ def load_artifacts():
54
  except Exception as e:
55
  st.error(f"❌ Error loading model artifacts: {e}")
56
  return None, None, {}, False
 
 
 
57
 
58
 
59
  # =============================================================================
 
54
  except Exception as e:
55
  st.error(f"❌ Error loading model artifacts: {e}")
56
  return None, None, {}, False
57
+ model, scaler, metadata, MODEL_LOADED = load_artifacts()
58
+
59
+ MODEL_NAME = metadata.get("model_name", "Predictive Maintenance Model")
60
 
61
 
62
  # =============================================================================