print more info about the selected model

pull/186/head
kabachuha 2023-07-02 19:23:55 +03:00
parent d16b0f5473
commit 1ebbaee7a3
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@ def run(*args):
t2v_helpers_args.i1_store_t2v = f'<p style=\"font-weight:bold;margin-bottom:0em\">text2video extension for auto1111 — version 1.2b </p><video controls loop><source src="{dataurl}" type="video/mp4"></video>' t2v_helpers_args.i1_store_t2v = f'<p style=\"font-weight:bold;margin-bottom:0em\">text2video extension for auto1111 — version 1.2b </p><video controls loop><source src="{dataurl}" type="video/mp4"></video>'
keep_pipe_in_vram = opts.data.get("modelscope_deforum_keep_model_in_vram") if opts.data is not None and opts.data.get("modelscope_deforum_keep_model_in_vram") is not None else 'None' keep_pipe_in_vram = opts.data.get("modelscope_deforum_keep_model_in_vram") if opts.data is not None and opts.data.get("modelscope_deforum_keep_model_in_vram") is not None else 'None'
try: try:
print('text2video — The model selected is: ', args_dict['model_type']) print(f'text2video — The model selected is: {args_dict["model"]} ({args_dict["model_type"]}-like)')
if model_type == 'ModelScope': if model_type == 'ModelScope':
vids_pack = process_modelscope(args_dict) vids_pack = process_modelscope(args_dict)
elif model_type == 'VideoCrafter (WIP)': elif model_type == 'VideoCrafter (WIP)':