sadgaj commited on
Commit
7b3398a
1 Parent(s): 413b6ec

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -3,8 +3,8 @@ from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
3
 
4
  def greet(name):
5
 
6
- #tokenizer = AutoTokenizer.from_pretrained("zjunlp/MolGen")
7
- #model = AutoModelForSeq2SeqLM.from_pretrained("zjunlp/MolGen")
8
 
9
  #sf_input = tokenizer(name, return_tensors="pt")
10
  # beam search
 
3
 
4
  def greet(name):
5
 
6
+ tokenizer = AutoTokenizer.from_pretrained("zjunlp/MolGen")
7
+ model = AutoModelForSeq2SeqLM.from_pretrained("zjunlp/MolGen")
8
 
9
  #sf_input = tokenizer(name, return_tensors="pt")
10
  # beam search