(config_file="config.yaml")
| 166 | print("Image saved!") |
| 167 | |
| 168 | def load_config(config_file="config.yaml"): |
| 169 | with open(config_file, 'r') as f: |
| 170 | config = yaml.safe_load(f) |
| 171 | return config['thread_params'] |
| 172 | |
| 173 | def main(): |
| 174 | parser = argparse.ArgumentParser(description="env name") |