NewBreaker commited on
Commit
a5ffac3
1 Parent(s): 310cea3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -9,8 +9,8 @@ import gradio as gr
9
 
10
 
11
  # chatglm-6b-int4 CPU,
12
- tokenizer = AutoTokenizer.from_pretrained(".\\models\\chatglm-6b-int4", trust_remote_code=True, revision="")
13
- model = AutoModel.from_pretrained(".\\models\\chatglm-6b-int4", trust_remote_code=True, revision="").float()
14
 
15
 
16
 
 
9
 
10
 
11
  # chatglm-6b-int4 CPU,
12
+ tokenizer = AutoTokenizer.from_pretrained("models/chatglm-6b-int4", trust_remote_code=True, revision="")
13
+ model = AutoModel.from_pretrained("models/chatglm-6b-int4", trust_remote_code=True, revision="").float()
14
 
15
 
16