提交 d0ea471b 编写于 作者: D DepFA 提交者: AUTOMATIC1111

Use opts in textual_inversion image_embedding.py for dynamic fonts

上级 9286fe53
......@@ -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):
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册