Spaces:
Runtime error
Runtime error
Мясников Филипп Сергеевич
commited on
Commit
•
1816654
1
Parent(s):
258a840
fix
Browse files
app.py
CHANGED
@@ -67,7 +67,7 @@ def inference(img):
|
|
67 |
|
68 |
my_w = projection(aligned_face, "test.pt", device).unsqueeze(0)
|
69 |
|
70 |
-
npimage = my_w.
|
71 |
imageio.imwrite('filename.jpeg', npimage)
|
72 |
return 'filename.jpeg'
|
73 |
|
|
|
67 |
|
68 |
my_w = projection(aligned_face, "test.pt", device).unsqueeze(0)
|
69 |
|
70 |
+
npimage = my_w.numpy()
|
71 |
imageio.imwrite('filename.jpeg', npimage)
|
72 |
return 'filename.jpeg'
|
73 |
|