akoksal commited on
Commit
30270cc
·
1 Parent(s): 7c6863d

Update app

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -3,9 +3,9 @@ from transformers import AutoTokenizer, pipeline
3
  import torch
4
 
5
  tokenizer1 = AutoTokenizer.from_pretrained("notexist/ttt")
6
- tdk1 = pipeline('text-generation', model='notexist/ttt', tokenizer=tokenizer)
7
  tokenizer2 = AutoTokenizer.from_pretrained("notexist/ttt")
8
- tdk2 = pipeline('text-generation', model='notexist/ttt', tokenizer=tokenizer)
9
 
10
  def predict(name, sl, topk, topp):
11
  if name == "":
 
3
  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 == "":