Skip to content

Commit

Permalink
remove scopre
Browse files Browse the repository at this point in the history
  • Loading branch information
Dayof committed Oct 15, 2024
1 parent c000a1b commit fc07ea0
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions tests/models/florence2_ft/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,18 +13,14 @@
logging.basicConfig(level=logging.INFO)


@pytest.fixture(scope="function")
@pytest.fixture
def large_model():
model = Florence2Ft(Florence2ModelName.FLORENCE_2_LARGE)
yield model
model.load_base()
return Florence2Ft(Florence2ModelName.FLORENCE_2_LARGE)


@pytest.fixture(scope="function")
@pytest.fixture
def small_model():
model = Florence2Ft(Florence2ModelName.FLORENCE_2_BASE_FT)
yield model
model.load_base()
return Florence2Ft(Florence2ModelName.FLORENCE_2_BASE_FT)


@pytest.fixture
Expand Down

0 comments on commit fc07ea0

Please sign in to comment.