mirror of
https://github.com/k4yt3x/video2x.git
synced 2024-12-28 23:19:11 +00:00
disabled formatting for example code to keep comment indentation
This commit is contained in:
parent
60ae71f3c5
commit
275f329f7f
@ -7,11 +7,11 @@ import pathlib
|
|||||||
# import video2x
|
# import video2x
|
||||||
from video2x import Video2X
|
from video2x import Video2X
|
||||||
|
|
||||||
|
|
||||||
# create video2x object
|
# create video2x object
|
||||||
video2x = Video2X()
|
video2x = Video2X()
|
||||||
|
|
||||||
# run upscale
|
# run upscale
|
||||||
|
# fmt: off
|
||||||
video2x.interpolate(
|
video2x.interpolate(
|
||||||
pathlib.Path("input.mp4"), # input video path
|
pathlib.Path("input.mp4"), # input video path
|
||||||
pathlib.Path("output.mp4"), # another
|
pathlib.Path("output.mp4"), # another
|
||||||
|
@ -7,11 +7,11 @@ import pathlib
|
|||||||
# import video2x
|
# import video2x
|
||||||
from video2x import Video2X
|
from video2x import Video2X
|
||||||
|
|
||||||
|
|
||||||
# create video2x object
|
# create video2x object
|
||||||
video2x = Video2X()
|
video2x = Video2X()
|
||||||
|
|
||||||
# run upscale
|
# run upscale
|
||||||
|
# fmt: off
|
||||||
video2x.upscale(
|
video2x.upscale(
|
||||||
pathlib.Path("input.mp4"), # input video path
|
pathlib.Path("input.mp4"), # input video path
|
||||||
pathlib.Path("output.mp4"), # another
|
pathlib.Path("output.mp4"), # another
|
||||||
|
Loading…
Reference in New Issue
Block a user