Skip to content

Commit

Permalink
Enables image drop-in (#12)
Browse files Browse the repository at this point in the history
  • Loading branch information
SinanAkkoyun authored Mar 13, 2024
1 parent 8d4d9a6 commit 86a3096
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cli_chat.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ def chat(args, tokenizer, vl_chat_processor, vl_gpt, generation_config):
while cur_img_idx < num_images:
try:
image_file = input(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:
print()
Expand Down

0 comments on commit 86a3096

Please sign in to comment.