Skip to content

Commit

Permalink
fix: fix fastapi version to 0.88 (#261)
Browse files Browse the repository at this point in the history
  • Loading branch information
34j authored Apr 9, 2023
1 parent 79e4b5a commit a26f387
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 44 deletions.
65 changes: 22 additions & 43 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,8 @@ pebble = ">=5.0"
torchcrepe = ">=0.0.17"
unidecode = "^1.3.6"
lightning = "^2.0.1"
fastapi = "<0.96"
fastapi = "==0.88"
pydantic = "<1.7"

[tool.poetry.group.dev.dependencies]
pre-commit = ">=3"
Expand Down
2 changes: 2 additions & 0 deletions tests/test_main.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@

class TestMain(TestCase):
def test_import(self):
from pydantic import Schema # noqa

import so_vits_svc_fork.cluster.train_cluster # noqa
import so_vits_svc_fork.inference.main # noqa

Expand Down

0 comments on commit a26f387

Please sign in to comment.