make video2x backwards compatible

adds future-fstrings package
transforms the source to .format() format on runtime
This commit is contained in:
BrianPetkovsek 2019-06-14 21:43:18 -04:00
parent b5da9ebbf7
commit 9d5ad2f70c
8 changed files with 8 additions and 7 deletions

View File

@ -1,5 +1,5 @@
#!/usr/bin/env python3 #!/usr/bin/env python3
# -*- code:utf-8 -*- # -*- coding: future_fstrings -*-
""" """
Name: Video2X Exceptions Name: Video2X Exceptions
Dev: K4YT3X Dev: K4YT3X

View File

@ -1,5 +1,5 @@
#!/usr/bin/env python3 #!/usr/bin/env python3
# -*- coding: utf-8 -*- # -*- coding: future_fstrings -*-
""" """
Name: FFMPEG Class Name: FFMPEG Class
Author: K4YT3X Author: K4YT3X

View File

@ -1,5 +1,5 @@
#!/usr/bin/env python3 #!/usr/bin/env python3
# -*- coding: utf-8 -*- # -*- coding: future_fstrings -*-
""" """
Name: Video2X Image Cleaner Name: Video2X Image Cleaner
Author: BrianPetkovsek Author: BrianPetkovsek

View File

@ -4,3 +4,4 @@ GPUtil
psutil psutil
requests requests
tqdm tqdm
future-fstrings>=1.1.0

View File

@ -1,5 +1,5 @@
#!/usr/bin/env python3 #!/usr/bin/env python3
# -*- coding: utf-8 -*- # -*- coding: future_fstrings -*-
""" """
Name: Video2X Upscaler Name: Video2X Upscaler
Author: K4YT3X Author: K4YT3X

View File

@ -1,5 +1,5 @@
#!/usr/bin/env python3 #!/usr/bin/env python3
# -*- coding: utf-8 -*- # -*- coding: future_fstrings -*-
""" """
__ __ _ _ ___ __ __ __ __ _ _ ___ __ __

View File

@ -1,5 +1,5 @@
#!/usr/bin/env python3 #!/usr/bin/env python3
# -*- coding: utf-8 -*- # -*- coding: future_fstrings -*-
""" """
Name: Waifu2x Caffe Driver Name: Waifu2x Caffe Driver
Author: K4YT3X Author: K4YT3X

View File

@ -1,5 +1,5 @@
#!/usr/bin/env python3 #!/usr/bin/env python3
# -*- coding: utf-8 -*- # -*- coding: future_fstrings -*-
""" """
Name: Waifu2x Converter CPP Driver Name: Waifu2x Converter CPP Driver
Author: K4YT3X Author: K4YT3X