bkhmsi commited on
Commit
c36695c
1 Parent(s): 8eb9f02

still trying to fix issue

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -239,7 +239,7 @@ def run_main_app(semantic_concept, word, script, prompt_suffix, font_name, num_s
239
 
240
  if step % skip == 0:
241
  img_tensor = img.detach().cpu()
242
- img_tensor = torch.nn.functional.interpolate(x, size=(200, 200, 3), mode='bicubic', align_corners=False)
243
  gif_frames += [img_tensor.numpy()]
244
 
245
  filename = os.path.join(cfg.experiment_dir, "video-svg", f"iter{step:04d}.svg")
 
239
 
240
  if step % skip == 0:
241
  img_tensor = img.detach().cpu()
242
+ img_tensor = torch.nn.functional.interpolate(img_tensor, size=(200, 200, 3), mode='bicubic', align_corners=False)
243
  gif_frames += [img_tensor.numpy()]
244
 
245
  filename = os.path.join(cfg.experiment_dir, "video-svg", f"iter{step:04d}.svg")