Spaces:
Runtime error
Runtime error
Commit
•
6997827
1
Parent(s):
7a82ab9
Update app.py
Browse files
app.py
CHANGED
@@ -36,7 +36,7 @@ from hair_swap import HairFast, get_parser
|
|
36 |
hair_fast = HairFast(get_parser().parse_args([]))
|
37 |
|
38 |
def resize(image_path):
|
39 |
-
img = Image.open(
|
40 |
square_size = 1024
|
41 |
|
42 |
left = (img.width - square_size) / 2
|
|
|
36 |
hair_fast = HairFast(get_parser().parse_args([]))
|
37 |
|
38 |
def resize(image_path):
|
39 |
+
img = Image.open(image_path)
|
40 |
square_size = 1024
|
41 |
|
42 |
left = (img.width - square_size) / 2
|