mirror of
https://github.com/deepseek-ai/DeepSeek-VL
synced 2024-11-21 10:57:39 +00:00
Enables image drop-in (#12)
This commit is contained in:
parent
8d4d9a6ccf
commit
86a309683b
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user