From 329590bd5889be33dde3ba65ae856b27a05f7891 Mon Sep 17 00:00:00 2001 From: Yicheng Qian Date: Tue, 5 Nov 2024 16:29:48 -0800 Subject: [PATCH] fix vlm streamlit bug --- nexa/cli/entry.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/nexa/cli/entry.py b/nexa/cli/entry.py index 9ecd4b04..7898a774 100644 --- a/nexa/cli/entry.py +++ b/nexa/cli/entry.py @@ -46,6 +46,8 @@ def run_ggml_inference(args): run_type = ModelType[model_type].value local_path = None + projector_local_path = None + if is_local_path or hf: if not model_type: print("Error: --model_type must be provided when using --local_path or --huggingface")