Skip to content

Commit 0c53dd6

Browse files
authored
make call_vllm model configurable (#11)
1 parent b82b101 commit 0c53dd6

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

no-ocr-api/np_ocr/search.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,6 @@ def call_vllm(image_data: PIL.Image.Image, user_query: str, base_url: str, api_k
134134
logger.info("start call_vllm")
135135
start_time = time.time()
136136

137-
model = "Qwen2-VL-7B-Instruct"
138137

139138
prompt = f"""
140139
Based on the user's query:

no-ocr-ui/src/stores/authStore.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { create } from 'zustand';
22
import { AuthState } from '../types/auth';
33
import { supabase } from '../lib/supabase';
44

5-
export const useAuthStore = create<AuthState>((set) => ({
5+
export const useAuthStore = create<AuthState>(() => ({
66
user: null,
77
isLoading: true,
88
}));

0 commit comments

Comments
 (0)