Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -10,7 +10,7 @@ import os
|
|
| 10 |
|
| 11 |
RECOGNITION_THRESHOLD = 0.3
|
| 12 |
|
| 13 |
-
|
| 14 |
# Load the embedding model
|
| 15 |
embedding_model = torch.load('full_mode2.pth', map_location=torch.device('cpu'))
|
| 16 |
embedding_model.eval() # Set the model to evaluation mode
|
|
|
|
| 10 |
|
| 11 |
RECOGNITION_THRESHOLD = 0.3
|
| 12 |
|
| 13 |
+
|
| 14 |
# Load the embedding model
|
| 15 |
embedding_model = torch.load('full_mode2.pth', map_location=torch.device('cpu'))
|
| 16 |
embedding_model.eval() # Set the model to evaluation mode
|