mirror of
https://github.com/Deepshift/DeepCreamPy.git
synced 2025-01-05 21:55:57 +00:00
allow using program from CLI
This commit is contained in:
parent
5a3ea33cfc
commit
fa7ed4ebcb
@ -373,7 +373,7 @@ class Decensor(QtCore.QThread):
|
||||
print("Decensored image. Returning it.")
|
||||
return output_img
|
||||
|
||||
# if __name__ == '__main__':
|
||||
# decensor = Decensor()
|
||||
# decensor.decensor_all_images_in_folder()
|
||||
if __name__ == '__main__':
|
||||
decensor = Decensor()
|
||||
decensor.decensor_all_images_in_folder()
|
||||
# equivalent to decensor.start() (running as QtThread)
|
||||
|
Loading…
Reference in New Issue
Block a user