mirror of
https://github.com/hacksider/Deep-Live-Cam.git
synced 2026-07-11 12:46:33 +02:00
- removed unused import statements
- added macOS specific required library to requirements.txt - conditional import of pygrabber, which is unavailable for macOS
This commit is contained in:
@@ -12,6 +12,7 @@ import pyvirtualcam
|
||||
if platform.system() == 'Darwin': # macOS
|
||||
import AVFoundation
|
||||
|
||||
# Import Windows specific modules only when on windows platform
|
||||
if os.name == 'nt': # Windows
|
||||
from pygrabber.dshow_graph import FilterGraph
|
||||
|
||||
|
||||
Reference in New Issue
Block a user