Yaron Koresh commited on
Commit
6dbaba7
·
verified ·
1 Parent(s): 72683cf

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -251,9 +251,9 @@ def handle_generate(*_inp):
251
 
252
  name = generate_random_string(12) + ( ".png" if time == 0 else ".gif" )
253
  if inp[4] == 0.0:
254
- pipeout.save(name)
255
  else:
256
- export_to_gif(pipeout,name,fps=fps)
257
  return name
258
 
259
  def ui():
 
251
 
252
  name = generate_random_string(12) + ( ".png" if time == 0 else ".gif" )
253
  if inp[4] == 0.0:
254
+ pipe_out.save(name)
255
  else:
256
+ export_to_gif(pipe_out,name,fps=fps)
257
  return name
258
 
259
  def ui():