Skip to content

Commit aaabbd0

Browse files
No public description
PiperOrigin-RevId: 571114273
1 parent 46d2b5a commit aaabbd0

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

official/projects/waste_identification_ml/two_model_inference/download_and_unzip_models.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -73,16 +73,16 @@ def execute_command(cmd: str) -> str:
7373

7474
def main(_) -> None:
7575
# Download the provided files
76-
execute_command(f"wget {args.url1}")
77-
execute_command(f"wget {args.url2}")
76+
execute_command(f"wget {args.material_url}")
77+
execute_command(f"wget {args.material_form_url}")
7878

7979
# Create directories
8080
os.makedirs("material", exist_ok=True)
8181
os.makedirs("material_form", exist_ok=True)
8282

8383
# Unzip the provided files
84-
zip_file1 = os.path.basename(args.url1)
85-
zip_file2 = os.path.basename(args.url2)
84+
zip_file1 = os.path.basename(args.material_url)
85+
zip_file2 = os.path.basename(args.material_form_url)
8686
execute_command(f"unzip {zip_file1} -d material/")
8787
execute_command(f"unzip {zip_file2} -d material_form/")
8888

0 commit comments

Comments
 (0)