File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
official/projects/waste_identification_ml/two_model_inference Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -73,16 +73,16 @@ def execute_command(cmd: str) -> str:
73
73
74
74
def main (_ ) -> None :
75
75
# 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 } " )
78
78
79
79
# Create directories
80
80
os .makedirs ("material" , exist_ok = True )
81
81
os .makedirs ("material_form" , exist_ok = True )
82
82
83
83
# 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 )
86
86
execute_command (f"unzip { zip_file1 } -d material/" )
87
87
execute_command (f"unzip { zip_file2 } -d material_form/" )
88
88
You can’t perform that action at this time.
0 commit comments