Spaces:
Runtime error
Runtime error
change styles folder to stylesv2
Browse files
app.py
CHANGED
@@ -49,7 +49,7 @@ if uploaded_file is not None:
|
|
49 |
params.backend = "mkl"
|
50 |
params.image_size = 512
|
51 |
params.content_image = uploaded_file
|
52 |
-
path = '
|
53 |
styles = os.listdir(path)
|
54 |
params.style_image = path + '/' + random.choice(styles)
|
55 |
neural_style.transfer(params)
|
|
|
49 |
params.backend = "mkl"
|
50 |
params.image_size = 512
|
51 |
params.content_image = uploaded_file
|
52 |
+
path = 'stylesv2'
|
53 |
styles = os.listdir(path)
|
54 |
params.style_image = path + '/' + random.choice(styles)
|
55 |
neural_style.transfer(params)
|