Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenDAS
diffusers
Commits
2ea28d69
Unverified
Commit
2ea28d69
authored
Mar 12, 2024
by
Dhruv Nair
Committed by
GitHub
Mar 12, 2024
Browse files
Change `export_to_video` default (#6990)
update Co-authored-by:
Sayak Paul
<
spsayakpaul@gmail.com
>
parent
a1cb1064
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/diffusers/utils/export_utils.py
src/diffusers/utils/export_utils.py
+1
-1
No files found.
src/diffusers/utils/export_utils.py
View file @
2ea28d69
...
...
@@ -116,7 +116,7 @@ def export_to_obj(mesh, output_obj_path: str = None):
def
export_to_video
(
video_frames
:
Union
[
List
[
np
.
ndarray
],
List
[
PIL
.
Image
.
Image
]],
output_video_path
:
str
=
None
,
fps
:
int
=
8
video_frames
:
Union
[
List
[
np
.
ndarray
],
List
[
PIL
.
Image
.
Image
]],
output_video_path
:
str
=
None
,
fps
:
int
=
10
)
->
str
:
if
is_opencv_available
():
import
cv2
...
...
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