[Feature / bugfix] Sorting uses update dates only from types (bases) currently selected.

#4
by Symbiomatrix - opened

Added selectedTypes in: getPersonUploadDate , sortModels , searchModelsModern + isWithinPeriod call.

Oof, not sure what went wrong with the diff, I updated the code through hf. Maybe the newline scheme changed.
The update is implemented here: https://huggingface.co/spaces/Symbiomatrix/malcolm-browser
Simply sort by newest, then select flux / wan / zimage (+ within last week / month).
Before, this would display models whose zimage version was uploaded recently, but the flux / wan version is very old.
Now, it prioritises only models whose selected base was actually uploaded recently. Search works too.

Pardon the "type" instead of "base", chatbot wrote that, cba to correct.

Symbiomatrix changed pull request title from Sorting uses update dates only from types currently selected. to Sorting uses update dates only from types (bases) currently selected.
Symbiomatrix changed pull request title from Sorting uses update dates only from types (bases) currently selected. to [Feature / bugfix] Sorting uses update dates only from types (bases) currently selected.

thanks!

yeah, most likely new line endings

i will take a look at those changes in my IDE and will incorporate it into my codebase relatively soon (probably not today but soon :P)

i knew about this issue/limitation but didn't prioritise it high, thanks for addressing it, i will definitely use your work :)

No pressure, thanks for your effort.

Cannot merge
This branch has merge conflicts in the following files:
  • index.html

Sign up or log in to comment