sadgaj commited on
Commit
d8d0f8b
1 Parent(s): c11da7b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -8,10 +8,10 @@ from transformers import (
8
  AutoModelForSeq2SeqLM,
9
  )
10
  import torch
11
- # model_folder = "zjunlp/chatcell-small"
12
- # tokenizer = AutoTokenizer.from_pretrained(model_folder)
13
- # model = AutoModelForSeq2SeqLM.from_pretrained(model_folder)
14
- # model.eval()
15
 
16
 
17
 
 
8
  AutoModelForSeq2SeqLM,
9
  )
10
  import torch
11
+ model_folder = "zjunlp/chatcell-small"
12
+ tokenizer = AutoTokenizer.from_pretrained(model_folder)
13
+ model = AutoModelForSeq2SeqLM.from_pretrained(model_folder)
14
+ model.eval()
15
 
16
 
17