mirror of
https://github.com/modelscope/modelscope.git
synced 2026-07-11 04:50:39 +02:00
[to #42322933] disable image diffusion tests
This commit is contained in:
@@ -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.
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user