detection-demo / app.py

Commit History

Refactor inference function in app.py to accept image directly instead of file path, simplifying the input process.
d44f6a3

kevinconka commited on

Remove 'type' attribute from image input component in app.py to streamline UI configuration.
1203db2

kevinconka commited on

Refactor inference function in app.py to remove image file path from output and update UI components accordingly.
8cdef7f

kevinconka commited on

Rename image file path textbox in app.py for clarity
941fa10

kevinconka commited on

Refactor inference function in app.py to accept image file path, update output to include file path, and adjust input type in the UI.
585407e

kevinconka commited on

added debug messages
ac783cd

kevinconka commited on

Refactor flagging mechanism in app.py to use dedicated function for image flagging and clean up commented code.
9b3bb2e

kevinconka commited on

Update app.py
fb78bf6
verified

kevinconka commited on

Move API to actual flagging function
687d726
verified

kevinconka commited on

Add API endpoint to flag misdetections
7737736
verified

kevinconka commited on

Update model
341c6ee
verified

kevinconka commited on

Refactor theme configuration in app.py to simplify font settings.
631a047

kevinconka commited on

Refactor inference function to remove diameter parameter and enhance theme configuration with additional fonts.
7b79cdc

kevinconka commited on

Update app.py
2e66256
verified

kevinconka commited on

Update app.py
1a4222a
verified

kevinconka commited on

Update app.py
e6fcc2b
verified

kevinconka commited on

Update app.py
c7a0950
verified

kevinconka commited on

cache examples during loading
ae1d8af

kevinconka commited on

Refactor model loading to use device parameter
5f5664d

kevinconka commited on

Simplify model loading and remove unnecessary caching
b29c515

kevinconka commited on

Update app.py
5fcbed8
verified

kevinconka commited on

Update app.py
c560f81
verified

kevinconka commited on

Fix memory allocation issue in get_model function
48379e0

kevinconka commited on

use lru cache for simplicity
e85cd1e

kevinconka commited on

better lazy loading via class
79e2714

kevinconka commited on

lazy load model
fb2817b

kevinconka commited on

Fix GPU decorator removal in load_ahoy function
b7ff10f

kevinconka commited on

avoid re-installing pytorch
5fe653d

kevinconka commited on

use seavision
48ea831

kevinconka commited on

Update app.py
4624c16
verified

kevinconka commited on

HuggingFaceDatasetSaver changes
69f95c1

kevinconka commited on

Update flag button label
7904cc2

kevinconka commited on

Added tab title
3eb4992

kevinconka commited on

Minor title rephrasing
7fa7461

kevinconka commited on

Better demo title + error management
0f0204b

kevinconka commited on

Update feedback message in app.py
1309dab

kevinconka commited on

hide flagging option when displaying examples
efae727

kevinconka commited on

Update app.py
3217e7a
verified

kevinconka commited on

Refactor flagged image counting logic
246a775

kevinconka commited on

Refactor app.py and utils.py
a378000

kevinconka commited on

added examples from own DB
869f4d7

kevinconka commited on

renamed dataset
4725ead

kevinconka commited on

save flagged data to HF dataset
955daea

kevinconka commited on

remove "args" from lambda callback
c54f19a

kevinconka commited on

added queue + minor wording fixes
8e60091

kevinconka commited on

1st working version
e921d65

kevinconka commited on