Rodrigo_Cobo commited on
Commit
b8400b6
1 Parent(s): 46da775

not a fix but weird stuff is happening

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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", "result"
63
  ])
64
  subprocess.run(["python", "WiggleResults/split.py", "--dim", dim])
65
 
66
- return [f'WiggleResults/result.jpg',f'WiggleResults/result_0.gif']
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: