akoksal commited on
Commit
ce08085
·
1 Parent(s): 30270cc
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -4,8 +4,8 @@ import torch
4
 
5
  tokenizer1 = AutoTokenizer.from_pretrained("notexist/ttt")
6
  tdk1 = pipeline('text-generation', model='notexist/ttt', tokenizer=tokenizer1)
7
- tokenizer2 = AutoTokenizer.from_pretrained("notexist/ttt")
8
- tdk2 = pipeline('text-generation', model='notexist/ttt', tokenizer=tokenizer2)
9
 
10
  def predict(name, sl, topk, topp):
11
  if name == "":
 
4
 
5
  tokenizer1 = AutoTokenizer.from_pretrained("notexist/ttt")
6
  tdk1 = pipeline('text-generation', model='notexist/ttt', tokenizer=tokenizer1)
7
+ tokenizer2 = AutoTokenizer.from_pretrained("notexist/ttt2")
8
+ tdk2 = pipeline('text-generation', model='notexist/ttt2', tokenizer=tokenizer2)
9
 
10
  def predict(name, sl, topk, topp):
11
  if name == "":