Spaces:
Sleeping
Sleeping
Yaron Koresh
commited on
Update app.py
Browse files
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 |
-
|
255 |
else:
|
256 |
-
export_to_gif(
|
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():
|