Spaces:
Running
on
L40S
Running
on
L40S
Commit
Β·
2f0ade7
1
Parent(s):
cdbf536
damn python
Browse files
engine.py
CHANGED
@@ -65,7 +65,7 @@ class Engine:
|
|
65 |
@alru_cache(maxsize=512)
|
66 |
async def load_image(self, data):
|
67 |
image = Image.open(io.BytesIO(data))
|
68 |
-
uid = uuid.uuid4()
|
69 |
img_rgb = np.array(image)
|
70 |
|
71 |
inference_cfg = self.live_portrait.live_portrait_wrapper.cfg
|
|
|
65 |
@alru_cache(maxsize=512)
|
66 |
async def load_image(self, data):
|
67 |
image = Image.open(io.BytesIO(data))
|
68 |
+
uid = str(uuid.uuid4())
|
69 |
img_rgb = np.array(image)
|
70 |
|
71 |
inference_cfg = self.live_portrait.live_portrait_wrapper.cfg
|