Spaces:
Runtime error
Runtime error
Ahsen Khaliq
commited on
Commit
Β·
b55c698
1
Parent(s):
1d40feb
Update app.py
Browse files
app.py
CHANGED
@@ -346,7 +346,7 @@ def inference(text, seed, step_size, max_iterations, width, height, init_image,
|
|
346 |
except KeyboardInterrupt:
|
347 |
pass
|
348 |
all_frames[0].save('out.gif',
|
349 |
-
save_all=True, append_images=all_frames[1:], optimize=False, duration=
|
350 |
return image, 'out.gif'
|
351 |
def load_image( infilename ) :
|
352 |
img = Image.open( infilename )
|
|
|
346 |
except KeyboardInterrupt:
|
347 |
pass
|
348 |
all_frames[0].save('out.gif',
|
349 |
+
save_all=True, append_images=all_frames[1:], optimize=False, duration=80, loop=0)
|
350 |
return image, 'out.gif'
|
351 |
def load_image( infilename ) :
|
352 |
img = Image.open( infilename )
|