Use opts in textual_inversion image_embedding.py for dynamic fonts
This commit is contained in:
parent
9286fe53de
commit
d0ea471b0c
|
@ -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 New Issue
Block a user