Commit ff9f147f authored by DepFA's avatar DepFA Committed by GitHub

Use opts in textual_inversion image_embedding.py for dynamic fonts

parent 1ed227b3
......@@ -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% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment