Commit 6fdc02d2 authored by Manoj Kumar's avatar Manoj Kumar

send gif to output folder

parent 0938eed7
......@@ -39,7 +39,7 @@ def generateGIF(images):
string.digits, k=15))
blob = ''
gifPath = ''
blob = bucket.blob(gifName + ".gif")
blob = bucket.blob("output/"+gifName + ".gif")
gifPath = STATIC_PATH + "\\output\\" + gifName + ".gif"
imageio.mimwrite(gifPath, images, duration=0.5)
......@@ -54,8 +54,6 @@ def generateGIF(images):
"gifPublicUrl": blob.public_url
}
print(blob.public_url)
return response
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment