Ramzan0553 commited on
Commit
35f3afd
·
verified ·
1 Parent(s): 83eac12

Update EasyOpticalCharacterRecognition.py

Browse files
Files changed (1) hide show
  1. EasyOpticalCharacterRecognition.py +2 -5
EasyOpticalCharacterRecognition.py CHANGED
@@ -7,12 +7,9 @@ import pickle
7
  import os
8
  from google.colab import drive
9
 
10
- # === Mount Google Drive ===
11
- drive.mount('/content/drive')
12
-
13
  # === Load model and label encoder ===
14
- model_path = '/content/drive/My Drive/ML1_Project/MobileNet/Model6/MobileNetBest_Model.h5'
15
- pkl_path = '/content/drive/My Drive/ML1_Project/MobileNet/Model6/MobileNet_Label_Encoder.pkl'
16
 
17
  model = load_model(model_path)
18
  print("✅ Model loaded.")
 
7
  import os
8
  from google.colab import drive
9
 
 
 
 
10
  # === Load model and label encoder ===
11
+ model_path = 'MobileNetBest_Model.h5'
12
+ pkl_path = 'MobileNet_Label_Encoder.pkl'
13
 
14
  model = load_model(model_path)
15
  print("✅ Model loaded.")