Update app.py
Browse files
app.py
CHANGED
|
@@ -76,8 +76,8 @@ def face2vintage(
|
|
| 76 |
else:
|
| 77 |
output = session.run([output_name], {input_name: aligned_img})[0]
|
| 78 |
output = array_to_image(output)
|
| 79 |
-
aligned_img = array_to_image(aligned_img).resize((output.width, output.height))
|
| 80 |
-
output = img_concat_h(aligned_img, output)
|
| 81 |
|
| 82 |
return output
|
| 83 |
|
|
|
|
| 76 |
else:
|
| 77 |
output = session.run([output_name], {input_name: aligned_img})[0]
|
| 78 |
output = array_to_image(output)
|
| 79 |
+
#aligned_img = array_to_image(aligned_img).resize((output.width, output.height))
|
| 80 |
+
#output = img_concat_h(aligned_img, output)
|
| 81 |
|
| 82 |
return output
|
| 83 |
|