def strip_stop_words()

in deepseek_vl2/serve/app_modules/utils.py [0:0]


def strip_stop_words(x, stop_words):
    for w in stop_words:
        if w in x:
            return x[: x.index(w)].strip()
    return x.strip()