CheckModels
Command
Bases: BaseCommand
Source code in API/llm/management/commands/check_models.py
10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 |
|
handle(*args, **options)
Loop through the MODELS dictionary and check if the model is in the database. If it is not, add it. :param args: :param options: :return:
Source code in API/llm/management/commands/check_models.py
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 |
|