Skip to content

Commit

Permalink
chore: reorganize project, add local interface, improve UI design, an…
Browse files Browse the repository at this point in the history
…d implement 80% similarity threshold filter
  • Loading branch information
Solrikk committed Dec 31, 2024
1 parent 4c9c5ca commit 1719af4
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
ZIP_PATH = 'photos.zip'
MODEL_PATH = 'resnet50_local.h5'
TOP_K = 5
SIMILARITY_THRESHOLD = 0.8
SIMILARITY_THRESHOLD = 0.6
model = load_model(MODEL_PATH)
UPLOAD_FOLDER = 'uploads'
os.makedirs(UPLOAD_FOLDER, exist_ok=True)
Expand Down
Binary file added uploads/drinks-g4d2348b6d_1280.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added uploads/Милашк.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 1719af4

Please sign in to comment.