Use opts in textual_inversion image_embedding.py for dynamic fonts

This commit is contained in:
DepFA 2022-10-21 14:04:41 +01:00 committed by AUTOMATIC1111
parent 9286fe53de
commit d0ea471b0c
1 changed files with 1 additions and 0 deletions

View File

@ -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):