Spaces:
Runtime error
Runtime error
Ahsen Khaliq
commited on
Commit
Β·
1d19779
1
Parent(s):
df3c3ca
Update app.py
Browse files
app.py
CHANGED
|
@@ -359,6 +359,7 @@ def inference(text, seed, step_size, max_iterations, width, height, init_image,
|
|
| 359 |
# all_frames[0].save('out.gif',
|
| 360 |
# save_all=True, append_images=all_frames[1:], optimize=False, duration=80, loop=0)
|
| 361 |
return image, 'test.mp4'
|
|
|
|
| 362 |
def load_image( infilename ) :
|
| 363 |
img = Image.open( infilename )
|
| 364 |
img.load()
|
|
|
|
| 359 |
# all_frames[0].save('out.gif',
|
| 360 |
# save_all=True, append_images=all_frames[1:], optimize=False, duration=80, loop=0)
|
| 361 |
return image, 'test.mp4'
|
| 362 |
+
|
| 363 |
def load_image( infilename ) :
|
| 364 |
img = Image.open( infilename )
|
| 365 |
img.load()
|