Spaces:
Sleeping
Sleeping
Yaron Koresh
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -265,7 +265,7 @@ def handle_generate(*_inp):
|
|
265 |
|
266 |
pipe_out = pipe_generate(*inp)
|
267 |
|
268 |
-
name = generate_random_string(12) + ( ".png" if
|
269 |
if inp[4] == 0.0:
|
270 |
pipe_out.save(name)
|
271 |
else:
|
|
|
265 |
|
266 |
pipe_out = pipe_generate(*inp)
|
267 |
|
268 |
+
name = generate_random_string(12) + ( ".png" if inp[4] == 0 else ".mp4" )
|
269 |
if inp[4] == 0.0:
|
270 |
pipe_out.save(name)
|
271 |
else:
|