Spaces:
Runtime error
Runtime error
Update app.py
Browse files1 unmodified line234556781 unmodified lineimport gradio as gr
tokenizer = AutoTokenizer.from_pretrained("THUDM/chatglm-6b", trust_remote_code=True)model = AutoModel.from_pretrained("THUDM/chatglm-6b", trust_remote_code=True).half.cuda()model = AutoModel.from_pretrained("THUDM/chatglm-6b", trust_remote_code=True).half().cuda()model = model.eval()
MAX_TURNS = 20app.py+1-1