Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions src/models.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ struct Entry {

// Realtime model registry. Kept in sync with the shared model list across the
// Decart SDKs. All realtime models stream over `/v1/stream`.
constexpr std::array<Entry, 10> kRealtime = {{
constexpr std::array<Entry, 9> kRealtime = {{
// Canonical
{"lucy-2.1", 30, 1088, 624, true},
{"lucy-2.5", 30, 1280, 720, true},
Expand All @@ -33,7 +33,6 @@ constexpr std::array<Entry, 10> kRealtime = {{
{"lucy-vton-latest", 30, 1088, 624, false},
{"lucy-restyle-latest", 30, 1280, 704, false},
// Deprecated aliases (still accepted)
{"mirage_v2", 30, 1280, 704, false},
{"lucy-2.1-vton-2", 30, 1088, 624, false},
}};

Expand Down
1 change: 0 additions & 1 deletion tests/test_models.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ TEST_CASE("realtime() resolves canonical models with correct geometry") {
TEST_CASE("realtime() accepts latest and deprecated aliases") {
CHECK(models::realtime("lucy-latest").urlPath == "/v1/stream");
CHECK(models::realtime("lucy-vton-latest").name == "lucy-vton-latest");
CHECK(models::realtime("mirage_v2").width == 1280); // deprecated -> restyle geometry
CHECK(models::isRealtimeModel("lucy-2.1-vton-2"));
}

Expand Down
Loading