Skip to content

Commit cf0dc74

Browse files
authored
Add files via upload
1 parent 9c48ce3 commit cf0dc74

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/gui_tabs_databases.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -144,8 +144,6 @@ def on_model_selected(self, index):
144144
config_data = yaml.safe_load(file) or {}
145145
if selected_path:
146146
config_data["EMBEDDING_MODEL_NAME"] = selected_path
147-
if "stella" in selected_path.lower() or "static-retrieval" in selected_path.lower():
148-
config_data["EMBEDDING_MODEL_DIMENSIONS"] = 1024
149147
else:
150148
config_json_path = Path(selected_path) / "config.json"
151149
if config_json_path.exists():

0 commit comments

Comments
 (0)