Spaces:
Runtime error
Runtime error
still trying to fix issue
Browse files
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(
|
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")
|