[to #42322933] disable image diffusion tests

This commit is contained in:
Yingda Chen
2022-08-31 12:57:14 +08:00
parent fbde374659
commit 681ea8cd17
2 changed files with 2 additions and 2 deletions

View File

@@ -11,7 +11,7 @@ from modelscope.utils.test_utils import test_level
class Image2ImageGenerationTest(unittest.TestCase):
@unittest.skipUnless(test_level() >= 0, 'skip test in current test level')
@unittest.skipUnless(test_level() >= 2, 'skip test in current test level')
def test_run_modelhub(self):
r"""We provide two generation modes, i.e., Similar Image Generation and Interpolation.
You can pass the following parameters for different mode.

View File

@@ -8,7 +8,7 @@ from modelscope.utils.test_utils import test_level
class Image2ImageTranslationTest(unittest.TestCase):
@unittest.skipUnless(test_level() >= 0, 'skip test in current test level')
@unittest.skipUnless(test_level() >= 2, 'skip test in current test level')
def test_run_modelhub(self):
r"""We provide three translation modes, i.e., uncropping, colorization and combination.
You can pass the following parameters for different mode.