sagar007 commited on
Commit
0bfd470
·
verified ·
1 Parent(s): be2f0ba

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -8,7 +8,7 @@ import spaces
8
  device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
9
  print(f"Using device: {device}")
10
 
11
- # Load model and tokenizer
12
  MODEL_PATH = "sagar007/phi2_25k"
13
  tokenizer = AutoTokenizer.from_pretrained(MODEL_PATH, trust_remote_code=True)
14
  tokenizer.pad_token = tokenizer.eos_token
 
8
  device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
9
  print(f"Using device: {device}")
10
 
11
+ # Load model and tokenizer#
12
  MODEL_PATH = "sagar007/phi2_25k"
13
  tokenizer = AutoTokenizer.from_pretrained(MODEL_PATH, trust_remote_code=True)
14
  tokenizer.pad_token = tokenizer.eos_token