hsuwill000 commited on
Commit
7192cbd
·
verified ·
1 Parent(s): 4e74e4f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -32,7 +32,7 @@ pipe = ov_genai.LLMPipeline(InUsed_model_name, device)
32
 
33
  def generate_response(prompt, model_name):
34
  global pipe, tokenizer # Access the global variables
35
- if(InUsed_model_name==model_name)
36
  model_path = model_name
37
  del pipe
38
  gc.collect()
 
32
 
33
  def generate_response(prompt, model_name):
34
  global pipe, tokenizer # Access the global variables
35
+ if(InUsed_model_name==model_name):
36
  model_path = model_name
37
  del pipe
38
  gc.collect()