Ahsen Khaliq commited on
Commit
46e5614
·
1 Parent(s): 35814d2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -208,7 +208,7 @@ def inference(text, init_image, skip_timesteps):
208
  all_frames.append(img)
209
  tqdm.write(f'Batch {i}, step {j}, output {k}:')
210
  #display.display(display.Image(filename))
211
- writer = imageio.get_writer('video.mp4', fps=5)
212
  for im in all_frames:
213
  writer.append_data(np.array(im))
214
  writer.close()
 
208
  all_frames.append(img)
209
  tqdm.write(f'Batch {i}, step {j}, output {k}:')
210
  #display.display(display.Image(filename))
211
+ writer = imageio.get_writer('video.mp4', fps=20)
212
  for im in all_frames:
213
  writer.append_data(np.array(im))
214
  writer.close()