# Path: tupa/scripts/export.py
# def load_model(filename):
#     model = Model(filename=filename)
#     model.load()
#     return model


from configargparse import ArgParser
from tupa.scripts.export import load_model



def main():
    argparser = ArgParser(description="Load TUPA model and save again to a different file.")
    argparser.add_argument("models", nargs="+", help="model file basename(s) to load")
    argparser.add_argument("-s", "--suffix", default=".1", help="filename suffix to append")
    args = argparser.parse_args()
    for filename in args.models:

# Path: tupa/scripts/export.py
# def load_model(filename):
#     model = Model(filename=filename)
#     model.load()
#     return model


# Path: tupa/scripts/load_save.py
from configargparse import ArgParser
from tupa.scripts.export import load_model




def main():
    argparser = ArgParser(description="Load TUPA model and save again to a different file.")
    argparser.add_argument("models", nargs="+", help="model file basename(s) to load")
    argparser.add_argument("-s", "--suffix", default=".1", help="filename suffix to append")
    args = argparser.parse_args()
    for filename in args.models:

        model = load_model(filename)