Rodrigo_Cobo
commited on
Commit
•
b8400b6
1
Parent(s):
46da775
not a fix but weird stuff is happening
Browse files
app.py
CHANGED
@@ -59,11 +59,11 @@ def wiggle_effect(slider):
|
|
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", "
|
63 |
])
|
64 |
subprocess.run(["python", "WiggleResults/split.py", "--dim", dim])
|
65 |
|
66 |
-
return [f'WiggleResults/
|
67 |
|
68 |
|
69 |
with gr.Blocks() as demo:
|
|
|
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", "out"
|
63 |
])
|
64 |
subprocess.run(["python", "WiggleResults/split.py", "--dim", dim])
|
65 |
|
66 |
+
return [f'WiggleResults/out.jpg',f'WiggleResults/out_0.gif']
|
67 |
|
68 |
|
69 |
with gr.Blocks() as demo:
|