importutils.sharedasshared# Earlier import of shared to use default for config_path argument
parser=argparse.ArgumentParser()
parser.add_argument("--reinstall-torch",action='store_true',help="launch.py argument: install the appropriate version of torch even if you have some version already installed")
parser.add_argument("--export-source-txt",action='store_true',help='save source to txt file once RUN completed')
parser.add_argument("--frozen",action='store_true',help='run without checking requirements')
parser.add_argument("--update",action='store_true',help="Update the repository before launching")# Добавлен аргумент --update
parser.add_argument("--config_path",default=shared.CONFIG_PATH,help='Config file to use for translation')# Named config_path to avoid conflict with existing name config