Spanicin commited on
Commit
698e349
1 Parent(s): 2b70b27

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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 = {'video_base64': data,'status':None}
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: