mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2026-01-30 12:22:26 -08:00
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…
Add table
Add a link
Reference in a new issue