chrismontes commited on
Commit
d9e57d3
·
verified ·
1 Parent(s): 855092f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -8,8 +8,8 @@ import gradio as gr
8
  device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
9
 
10
  # Initialize the tokenizer and model
11
- tokenizer = AutoTokenizer.from_pretrained("./SMOL_1.7")
12
- model = AutoModelForCausalLM.from_pretrained("./SMOL_1.7").to(device)
13
 
14
  # Initialize the sentence transformer model
15
  smodel = SentenceTransformer('./embed')
 
8
  device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
9
 
10
  # Initialize the tokenizer and model
11
+ tokenizer = AutoTokenizer.from_pretrained("./SMOL")
12
+ model = AutoModelForCausalLM.from_pretrained("./SMOL").to(device)
13
 
14
  # Initialize the sentence transformer model
15
  smodel = SentenceTransformer('./embed')