fariliang commited on
Commit
f481c89
·
1 Parent(s): 3cecdf5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -5,7 +5,7 @@ import mdtex2html
5
  import os
6
 
7
  tokenizer = AutoTokenizer.from_pretrained("batmanmodel", trust_remote_code=True)
8
- model = AutoModel.from_pretrained("batmanmodel", trust_remote_code=True).half().cuda()
9
  model = model.eval()
10
 
11
  """Override Chatbot.postprocess"""
 
5
  import os
6
 
7
  tokenizer = AutoTokenizer.from_pretrained("batmanmodel", trust_remote_code=True)
8
+ model = AutoModel.from_pretrained("batmanmodel", trust_remote_code=True).quantize(4).half().cuda()
9
  model = model.eval()
10
 
11
  """Override Chatbot.postprocess"""