vlm: enforce pybase64 for image and str encode/decode (#10700)

This commit is contained in:
b8zhong authored and GitHub committed 2025-10-21 19:05:32 +08:00
1 parent 05d3667ab9
commit d0a64c7e2c
8 files changed
+20 -36

No files matched your search

-6
View File
@@ -75,12 +75,6 @@ CAT_SHORT2LONG = {
}
# DATA SAVING
def save_json(filename, ds):
with open(filename, "w") as f:
json.dump(ds, f, indent=4)
def get_multi_choice_info(options):
"""
Given the list of options for multiple choice question