codinglabsong commited on
Commit
b8cccc4
·
verified ·
1 Parent(s): 97ff2e1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -7,9 +7,8 @@ from peft import PeftModel
7
 
8
  def load_model():
9
  """
10
- Load environment variables, tokenizer, and the fine-tuned LoRA model.
11
  """
12
- load_environ_vars()
13
  device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
14
 
15
  # Load tokenizer and base model
 
7
 
8
  def load_model():
9
  """
10
+ Load tokenizer, and the fine-tuned LoRA model.
11
  """
 
12
  device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
13
 
14
  # Load tokenizer and base model