merge: resolve conflicts

This commit is contained in:
Bo Liu 2024-03-13 17:44:43 +08:00
commit 0f80c7ad56

View File

@ -132,9 +132,8 @@ def chat(args, tokenizer, vl_chat_processor, vl_gpt, generation_config):
while cur_img_idx < num_images: while cur_img_idx < num_images:
try: try:
image_file = input( image_file = input(f"({cur_img_idx + 1}/{num_images}) Input the image file path: ")
f"({cur_img_idx + 1}/{num_images}) Input the image file path: " image_file = image_file.strip() # trim whitespaces around path, enables drop-in from for example Dolphin
)
except KeyboardInterrupt: except KeyboardInterrupt:
print() print()