Skip to content

Commit a3f49a6

Browse files
committed
only remote gpu for mac
1 parent a1488a0 commit a3f49a6

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

afy/cam_fomm.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,13 @@
1717
if _platform == 'linux' or _platform == 'linux2':
1818
import pyfakewebcam
1919
_streaming = True
20+
21+
22+
if _platform == 'darwin':
23+
if opt.worker_host is None:
24+
log('\nOnly remote GPU mode is supported for Mac (use --worker-host option to connect to the server)')
25+
log('Standalone version will be available lately!\n')
26+
exit()
2027

2128

2229
def is_new_frame_better(source, driving, precitor):

0 commit comments

Comments
 (0)