Spaces:
Runtime error
Runtime error
Om-Alve
commited on
Commit
·
f13d2ff
1
Parent(s):
76427af
downscaling
Browse files
app.py
CHANGED
@@ -35,7 +35,7 @@ class StyleTransfer(nn.Module):
|
|
35 |
device = torch.device('cuda' if torch.cuda.is_available() else 'cpu')
|
36 |
|
37 |
def image_merger(content, style,beta=10,device=device):
|
38 |
-
size =
|
39 |
alpha = 1
|
40 |
beta *= 1000
|
41 |
content = Image.fromarray(content)
|
|
|
35 |
device = torch.device('cuda' if torch.cuda.is_available() else 'cpu')
|
36 |
|
37 |
def image_merger(content, style,beta=10,device=device):
|
38 |
+
size = 300
|
39 |
alpha = 1
|
40 |
beta *= 1000
|
41 |
content = Image.fromarray(content)
|