hsuwill000 commited on
Commit
c7d527e
·
verified ·
1 Parent(s): a1d9077

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -34,7 +34,7 @@ def generate_response(prompt, model_name):
34
  model_path = model_name
35
 
36
  print(f"Switching to model: {model_name}")
37
- pipe = ov_genai.LLMPipeline(new_model_path, device)
38
  tokenizer = pipe.get_tokenizer()
39
  tokenizer.set_chat_template(tokenizer.chat_template)
40
 
 
34
  model_path = model_name
35
 
36
  print(f"Switching to model: {model_name}")
37
+ pipe = ov_genai.LLMPipeline(model_path, device)
38
  tokenizer = pipe.get_tokenizer()
39
  tokenizer.set_chat_template(tokenizer.chat_template)
40