tosei0000 commited on
Commit
32fec7a
·
verified ·
1 Parent(s): 589fde9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -1
app.py CHANGED
@@ -3,7 +3,6 @@ import torch
3
 
4
  model_path = "tosei0000/code"
5
 
6
- # 加载模型和分词器
7
  tokenizer = AutoTokenizer.from_pretrained(model_path, trust_remote_code=True)
8
  model = AutoModelForCausalLM.from_pretrained(model_path, trust_remote_code=True)
9
 
 
3
 
4
  model_path = "tosei0000/code"
5
 
 
6
  tokenizer = AutoTokenizer.from_pretrained(model_path, trust_remote_code=True)
7
  model = AutoModelForCausalLM.from_pretrained(model_path, trust_remote_code=True)
8