Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
Marigold committed Dec 18, 2024
1 parent a9a3572 commit 7a36a37
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion apps/wizard/app_pages/indicator_search/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,8 @@ def get_and_fit_model(_indicators: list[data.Indicator]) -> emb.EmbeddingsModel:
# Get embedding model.
model = emb.EmbeddingsModel(emb.get_model())
# Create an embedding for each indicator.
model.fit(_indicators)
with st.spinner("Creating embeddings..."):
model.fit(_indicators)
return model


Expand Down

0 comments on commit 7a36a37

Please sign in to comment.