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

This commit is contained in:
b8zhong
2025-10-21 04:05:32 -07:00
committed by GitHub
parent 05d3667ab9
commit d0a64c7e2c
8 changed files with 20 additions and 36 deletions

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