Skip to content

Conversation

@Thawtz
Copy link

@Thawtz Thawtz commented Aug 18, 2025

This PR addresses an issue where the textualinversion and hypernetwork tables were not being created or refreshed in the database, resulting in errors such as:

ERROR:anapnoe.database_manager:Database error: no such table: textualinversion
ERROR:anapnoe.database_manager:Database error: no such table: hypernetwork

Changes made:

Added page.refresh() in import_tables_generator to ensure tables are refreshed before checking items.

Ensured initialization is properly triggered inside on_ui_tabs() so tables are created at startup.

Result:
Embeddings and Hypernetworks are now detected correctly in the UI and database tables are initialized as expected.

@Thawtz Thawtz requested a review from anapnoe as a code owner August 18, 2025 10:44
@anapnoe anapnoe merged commit df7045b into anapnoe:master Aug 18, 2025
1 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants