Skip to content

Commit

Permalink
fix broken textual inversion extras tab
Browse files Browse the repository at this point in the history
  • Loading branch information
AUTOMATIC1111 committed Jan 21, 2023
1 parent fe7a623 commit f2eae61
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion modules/ui_extra_networks_textual_inversion.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import json
import os

from modules import ui_extra_networks, sd_hijack
Expand All @@ -24,7 +25,7 @@ def list_items(self):
"name": embedding.name,
"filename": embedding.filename,
"preview": preview,
"prompt": embedding.name,
"prompt": json.dumps(embedding.name),
"local_preview": path + ".preview.png",
}

Expand Down

0 comments on commit f2eae61

Please sign in to comment.