Spaces:
Runtime error
Runtime error
Update app
Browse files
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=
|
7 |
tokenizer2 = AutoTokenizer.from_pretrained("notexist/ttt")
|
8 |
-
tdk2 = pipeline('text-generation', model='notexist/ttt', 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 == "":
|