Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ build:

.PHONY: vs
vs:
rm -f encoded.mkv
rm -f encoded.mp4
vspipe -c y4m example/sr_vs.py - | ffmpeg -i - -vcodec libx264 encoded.mp4

.PHONY: dev
Expand Down
2 changes: 1 addition & 1 deletion cccv/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
SOFTWARE.
"""

__version__ = "0.0.2"
__version__ = "0.0.3"

from cccv.arch import ARCH_REGISTRY
from cccv.auto import AutoConfig, AutoModel
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ license = "MIT"
name = "cccv"
readme = "README.md"
requires-python = ">=3.9, <4"
version = "0.0.2"
version = "0.0.3"

[project.urls]
Homepage = "https://github.com/EutropicAI/cccv"
Expand Down
4 changes: 4 additions & 0 deletions tests/test_remote.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
import pytest

from cccv import CONFIG_REGISTRY, ConfigType
from cccv.util.remote import get_cache_dir, git_clone, load_file_from_url
from tests.util import CI_ENV


def test_cache_models() -> None:
load_file_from_url(CONFIG_REGISTRY.get(ConfigType.RealESRGAN_AnimeJaNai_HD_V3_Compact_2x))


@pytest.mark.skipif(CI_ENV, reason="Skip test on CI environment to save the provider's bandwidth")
def test_cache_models_with_gh_proxy() -> None:
load_file_from_url(
config=CONFIG_REGISTRY.get(ConfigType.RealESRGAN_AnimeJaNai_HD_V3_Compact_2x),
Expand Down
Loading