Update utils.py

This commit is contained in:
smthemex
2024-05-31 17:30:47 +08:00
committed by GitHub
parent 7b7c7ca8d8
commit a814a6fa66
+1
View File
@@ -4,6 +4,7 @@ import numpy as np
from PIL import Image,ImageOps,ImageDraw
MAX_COLORS = 12
import os
import random
dir_path = os.path.dirname(os.path.abspath(__file__))
path_dir = os.path.dirname(dir_path)
file_path = os.path.dirname(path_dir)