mirror of
https://github.com/facefusion/facefusion.git
synced 2026-05-15 03:10:24 +02:00
cleanup
This commit is contained in:
@@ -59,4 +59,3 @@ def setup_platform() -> None:
|
||||
library_paths.append(os.getenv('DYLD_LIBRARY_PATH'))
|
||||
os.environ['DYLD_LIBRARY_PATH'] = os.pathsep.join(library_paths)
|
||||
os.environ['SYSTEM_READY'] = '1'
|
||||
os.execv(sys.executable, [ sys.executable ] + sys.argv)
|
||||
|
||||
+3
-1
@@ -2,7 +2,7 @@ from typing import List
|
||||
|
||||
import pytest
|
||||
|
||||
from facefusion import rtc, state_manager
|
||||
from facefusion import environment, rtc, state_manager
|
||||
from facefusion.libraries import datachannel as datachannel_module, opus as opus_module, vpx as vpx_module
|
||||
from facefusion.types import RtcPeer
|
||||
|
||||
@@ -11,6 +11,8 @@ from facefusion.types import RtcPeer
|
||||
def before_all() -> None:
|
||||
state_manager.init_item('download_providers', [ 'github', 'huggingface' ])
|
||||
|
||||
environment.setup_platform()
|
||||
|
||||
datachannel_module.pre_check()
|
||||
opus_module.pre_check()
|
||||
vpx_module.pre_check()
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import pytest
|
||||
|
||||
from facefusion import state_manager
|
||||
from facefusion import environment, state_manager
|
||||
from facefusion.libraries import datachannel as datachannel_module, opus as opus_module, vpx as vpx_module
|
||||
|
||||
|
||||
@@ -8,6 +8,8 @@ from facefusion.libraries import datachannel as datachannel_module, opus as opus
|
||||
def before_all() -> None:
|
||||
state_manager.init_item('download_providers', [ 'github', 'huggingface' ])
|
||||
|
||||
environment.setup_platform()
|
||||
|
||||
datachannel_module.pre_check()
|
||||
opus_module.pre_check()
|
||||
vpx_module.pre_check()
|
||||
|
||||
Reference in New Issue
Block a user