Use opts in textual_inversion image_embedding.py for dynamic fonts
This commit is contained in:
parent
9286fe53de
commit
d0ea471b0c
1 changed files with 1 additions and 0 deletions
|
@ -5,6 +5,7 @@ import zlib
|
|||
from PIL import Image, PngImagePlugin, ImageDraw, ImageFont
|
||||
from fonts.ttf import Roboto
|
||||
import torch
|
||||
from modules.shared import opts
|
||||
|
||||
|
||||
class EmbeddingEncoder(json.JSONEncoder):
|
||||
|
|
Loading…
Reference in a new issue