Update app.py
Browse files
app.py
CHANGED
@@ -67,7 +67,7 @@ def generate_image_gif(prompt):
|
|
67 |
images[0].save(writer, format="GIF", save_all=True, append_images=images[1:], duration=100, loop=0)
|
68 |
writer.seek(0)
|
69 |
data = base64.b64encode(writer.read()).decode("ascii")
|
70 |
-
response_data = {'
|
71 |
print('response_data',response_data)
|
72 |
return response_data
|
73 |
except Exception as e:
|
|
|
67 |
images[0].save(writer, format="GIF", save_all=True, append_images=images[1:], duration=100, loop=0)
|
68 |
writer.seek(0)
|
69 |
data = base64.b64encode(writer.read()).decode("ascii")
|
70 |
+
response_data = {'3d_base64': data,'status':None}
|
71 |
print('response_data',response_data)
|
72 |
return response_data
|
73 |
except Exception as e:
|