Rodrigo_Cobo
commited on
Commit
·
49af897
1
Parent(s):
360dad8
fix location file issue
Browse files
app.py
CHANGED
@@ -57,12 +57,11 @@ def wiggle_effect(slider):
|
|
57 |
|
58 |
dim = '256'
|
59 |
c_images = '1'
|
60 |
-
print(type(slider))
|
61 |
|
62 |
subprocess.run(["python", "main.py", "--gan_type", 'WiggleGAN', "--expandGen", "4", "--expandDis", "4", "--batch_size", c_images, "--cIm", c_images,
|
63 |
-
"--visdom", "false", "--wiggleDepth",
|
64 |
])
|
65 |
-
subprocess.run(["python", "WiggleResults
|
66 |
|
67 |
return [f'WiggleResults/result.png',f'WiggleResults/result_0.gif']
|
68 |
|
|
|
57 |
|
58 |
dim = '256'
|
59 |
c_images = '1'
|
|
|
60 |
|
61 |
subprocess.run(["python", "main.py", "--gan_type", 'WiggleGAN', "--expandGen", "4", "--expandDis", "4", "--batch_size", c_images, "--cIm", c_images,
|
62 |
+
"--visdom", "false", "--wiggleDepth", str(slider), "--seedLoad", '31219_110', "--gpu_mode", "false", "--imageDim", dim, "--name_wiggle", "result"
|
63 |
])
|
64 |
+
subprocess.run(["python", "WiggleResults/split.py", "--dim", dim])
|
65 |
|
66 |
return [f'WiggleResults/result.png',f'WiggleResults/result_0.gif']
|
67 |
|