Skip to content

Commit

Permalink
Restore embedding filepath. (lllyasviel#2030)
Browse files Browse the repository at this point in the history
  • Loading branch information
Symbiomatrix authored Oct 26, 2024
1 parent 70f3499 commit 41a21f6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions backend/text_processing/textual_inversion.py
Original file line number Diff line number Diff line change
Expand Up @@ -258,4 +258,7 @@ def create_embedding_from_data(data, name, filename='unknown embedding file', fi
embedding.vectors = vectors
embedding.shape = shape

if filepath:
embedding.filename = filepath

return embedding

0 comments on commit 41a21f6

Please sign in to comment.