renamed RIFE to Rife per Python conventions

This commit is contained in:
K4YT3X 2021-08-17 14:39:50 +00:00
parent f283a12a0b
commit 535681f3cd

View File

@ -4,11 +4,11 @@
Name: Interpolator Name: Interpolator
Author: K4YT3X Author: K4YT3X
Date Created: May 27, 2021 Date Created: May 27, 2021
Last Modified: July 3, 2021 Last Modified: August 17, 2021
""" """
# local imports # local imports
from .wrappers.rife_ncnn_vulkan_python.rife_ncnn_vulkan import RIFE from .wrappers.rife_ncnn_vulkan_python.rife_ncnn_vulkan import Rife
# built-in imports # built-in imports
import multiprocessing import multiprocessing
@ -23,7 +23,7 @@ from PIL import ImageChops, ImageStat
from loguru import logger from loguru import logger
DRIVER_CLASSES = {"rife": RIFE} DRIVER_CLASSES = {"rife": Rife}
class Interpolator(multiprocessing.Process): class Interpolator(multiprocessing.Process):
@ -101,5 +101,5 @@ class Interpolator(multiprocessing.Process):
self.running = False self.running = False
return super().run() return super().run()
def _stop(self, signal_number, frame): def _stop(self, _signal_number, _frame):
self.running = False self.running = False