jeremyrmanning commited on
Commit
038e56b
·
1 Parent(s): 60f8c26

did i copy something wrong...?

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -38,7 +38,8 @@ def generate_story(choice, input_text):
38
  return generated_text
39
 
40
 
41
- def generate_images(text, width=256, height=256, steps=50, num_images=1, diversity=4):
 
42
 
43
  image_bytes = image_gen(text, steps, width, height, num_images, diversity)
44
 
@@ -65,7 +66,6 @@ def generate_interpolation(text, fps=10):
65
  g.save(frames[-1])
66
 
67
  vid = list(util.interpolate_recursively_from_files(frames, fps, interpolator))
68
-
69
  mediapy.write_video("out.mp4", vid, fps=fps)
70
  return "out.mp4"
71
 
 
38
  return generated_text
39
 
40
 
41
+ def generate_images(text, width=256, height=256, steps=50, num_images=1,
42
+ diversity=4):
43
 
44
  image_bytes = image_gen(text, steps, width, height, num_images, diversity)
45
 
 
66
  g.save(frames[-1])
67
 
68
  vid = list(util.interpolate_recursively_from_files(frames, fps, interpolator))
 
69
  mediapy.write_video("out.mp4", vid, fps=fps)
70
  return "out.mp4"
71