Spaces:
Running
Running
Commit
·
07619d2
1
Parent(s):
5bf5f48
Update app.py
Browse files
app.py
CHANGED
@@ -3,7 +3,7 @@ import gradio as gr
|
|
3 |
import mdtex2html
|
4 |
|
5 |
tokenizer = AutoTokenizer.from_pretrained("xiangxiang/chatglm2-6b-WaJiaBank", trust_remote_code=True)
|
6 |
-
model = AutoModel.from_pretrained("xiangxiang/chatglm2-6b-WaJiaBank",trust_remote_code=True)
|
7 |
model = model.eval()
|
8 |
|
9 |
"""Override Chatbot.postprocess"""
|
|
|
3 |
import mdtex2html
|
4 |
|
5 |
tokenizer = AutoTokenizer.from_pretrained("xiangxiang/chatglm2-6b-WaJiaBank", trust_remote_code=True)
|
6 |
+
model = AutoModel.from_pretrained("xiangxiang/chatglm2-6b-WaJiaBank",trust_remote_code=True)
|
7 |
model = model.eval()
|
8 |
|
9 |
"""Override Chatbot.postprocess"""
|