Skip to content

Commit fb11133

Browse files
committed
Remove redundant test
1 parent fefad03 commit fb11133

File tree

2 files changed

+0
-13
lines changed

2 files changed

+0
-13
lines changed

dlclibrary/dlcmodelzoo/modelzoo_download.py

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -97,15 +97,3 @@ def download_huggingface_model(modelname, target_dir=".", removeHFfolder=True):
9797
models = [fn for fn in neturls.keys()]
9898
print("Model does not exist: ", modelname)
9999
print("Pick one of the following: ", MODELOPTIONS)
100-
101-
102-
if __name__ == "__main__":
103-
print("Randomly downloading a model for testing...")
104-
105-
import random
106-
107-
# modelname = 'full_cat'
108-
modelname = random.choice(MODELOPTIONS)
109-
110-
target_dir = "/Users/alex/Downloads" # folder has to exist!
111-
download_hugginface_model(modelname, target_dir)

tests/test_modeldownload.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
#
99
# Licensed under GNU Lesser General Public License v3.0
1010
#
11-
import pytest
1211

1312

1413
def test_catdownload(tmp_path_factory):

0 commit comments

Comments
 (0)