jbilcke-hf HF staff commited on
Commit
2f0ade7
Β·
1 Parent(s): cdbf536

damn python

Browse files
Files changed (1) hide show
  1. engine.py +1 -1
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