mirror of
https://github.com/facefusion/facefusion.git
synced 2026-05-15 03:10:24 +02:00
cleanup
This commit is contained in:
@@ -36,7 +36,6 @@ jobs:
|
||||
- run: python install.py --onnxruntime default --skip-conda
|
||||
- run: pip install pytest
|
||||
- run: pip install pytest-mock
|
||||
- run: pip install pytest-timeout
|
||||
- run: pip install httpx
|
||||
- run: pip install python-multipart
|
||||
- run: pytest
|
||||
|
||||
@@ -43,6 +43,7 @@ def create_peer_connection(
|
||||
return datachannel_library.rtcCreatePeerConnection(ctypes.byref(rtc_configuration))
|
||||
|
||||
|
||||
#TODO: I think we dont need this method at all
|
||||
def build_media_description(media_type : str, payload_type : int, rtp_codec : str, media_direction : MediaDirection, media_id : int) -> bytes:
|
||||
lines =\
|
||||
[
|
||||
|
||||
@@ -7,7 +7,7 @@ import numpy
|
||||
import pytest
|
||||
from starlette.testclient import TestClient
|
||||
|
||||
from facefusion import metadata, session_manager, state_manager
|
||||
from facefusion import environment, metadata, session_manager, state_manager
|
||||
from facefusion.apis import asset_store
|
||||
from facefusion.apis.core import create_api
|
||||
from facefusion.core import common_pre_check, processors_pre_check
|
||||
@@ -39,6 +39,8 @@ def before_all() -> None:
|
||||
common_pre_check()
|
||||
processors_pre_check()
|
||||
|
||||
environment.setup_platform()
|
||||
|
||||
conditional_download(get_test_examples_directory(),
|
||||
[
|
||||
'https://github.com/facefusion/facefusion-assets/releases/download/examples-3.0.0/source.jpg'
|
||||
|
||||
Reference in New Issue
Block a user