mirror of
https://github.com/deepseek-ai/DeepSeek-VL
synced 2025-06-26 18:27:43 +00:00
feat: automatically patch collections for >python 3.10 support (#21)
Co-authored-by: Bo Liu <benjaminliu.eecs@gmail.com>
This commit is contained in:
@@ -132,8 +132,12 @@ 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
|
||||
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()
|
||||
|
||||
Reference in New Issue
Block a user