tensorkelechi commited on
Commit
e327372
·
verified ·
1 Parent(s): 396b2af

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -51,7 +51,7 @@ class SiameseNetwork(nn.Module, PyTorchModelHubMixin):
51
 
52
 
53
  # pretrained model file
54
- model_file = 'best_signature_mobilenet.safetensors' #config.safetensor_file
55
 
56
 
57
  # Function to compute similarity
@@ -71,7 +71,7 @@ def visualize_heatmap(model, image):
71
 
72
  # Load the pre-trained model from safeetesor file
73
  def load_pipeline():
74
- model_file = 'best_signature_mobilenet.safetensors' #config.safetensor_file
75
  # model_id = 'tensorkelechi/signature_mobilenet'
76
  model = SiameseNetwork() # model class/skeleton
77
 
 
51
 
52
 
53
  # pretrained model file
54
+ model_file = 'model.safetensors' #config.safetensor_file
55
 
56
 
57
  # Function to compute similarity
 
71
 
72
  # Load the pre-trained model from safeetesor file
73
  def load_pipeline():
74
+ model_file = 'model.safetensors' #config.safetensor_file
75
  # model_id = 'tensorkelechi/signature_mobilenet'
76
  model = SiameseNetwork() # model class/skeleton
77