mirror of
https://github.com/k4yt3x/video2x.git
synced 2025-01-30 23:58:11 +00:00
changed default config path from JSON to YAML
This commit is contained in:
parent
95416f68a8
commit
954233c238
@ -4,7 +4,7 @@
|
|||||||
Name: Video2X Setup Script
|
Name: Video2X Setup Script
|
||||||
Creator: K4YT3X
|
Creator: K4YT3X
|
||||||
Date Created: November 28, 2018
|
Date Created: November 28, 2018
|
||||||
Last Modified: November 15, 2019
|
Last Modified: November 16, 2019
|
||||||
|
|
||||||
Editor: BrianPetkovsek
|
Editor: BrianPetkovsek
|
||||||
Editor: SAT3LL
|
Editor: SAT3LL
|
||||||
@ -45,7 +45,7 @@ VERSION = '1.6.0'
|
|||||||
|
|
||||||
# global static variables
|
# global static variables
|
||||||
LOCALAPPDATA = pathlib.Path(os.getenv('localappdata'))
|
LOCALAPPDATA = pathlib.Path(os.getenv('localappdata'))
|
||||||
VIDEO2X_CONFIG = pathlib.Path(sys.argv[0]).parent.absolute() / 'video2x.json'
|
VIDEO2X_CONFIG = pathlib.Path(sys.argv[0]).parent.absolute() / 'video2x.yaml'
|
||||||
DRIVER_OPTIONS = ['all', 'waifu2x_caffe', 'waifu2x_converter', 'waifu2x_ncnn_vulkan', 'anime4k']
|
DRIVER_OPTIONS = ['all', 'waifu2x_caffe', 'waifu2x_converter', 'waifu2x_ncnn_vulkan', 'anime4k']
|
||||||
|
|
||||||
|
|
||||||
@ -363,6 +363,8 @@ if __name__ == '__main__':
|
|||||||
|
|
||||||
EXIT_CODE = 1
|
EXIT_CODE = 1
|
||||||
|
|
||||||
|
# regardless if script finishes successfully or not
|
||||||
|
# print script execution summary
|
||||||
finally:
|
finally:
|
||||||
print('Script finished')
|
print('Script finished')
|
||||||
print(f'Time taken: {timedelta(seconds=round(time.time() - start_time))}')
|
print(f'Time taken: {timedelta(seconds=round(time.time() - start_time))}')
|
||||||
|
Loading…
Reference in New Issue
Block a user