Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
2
2020-077
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
2
Issues
2
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
2020-077
2020-077
Commits
6fdc02d2
Commit
6fdc02d2
authored
Jan 09, 2021
by
Manoj Kumar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
send gif to output folder
parent
0938eed7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
reveng/gifMaker.py
reveng/gifMaker.py
+1
-3
No files found.
reveng/gifMaker.py
View file @
6fdc02d2
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment