Spaces:
Runtime error
Runtime error
update
Browse files
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/
|
8 |
-
tdk2 = pipeline('text-generation', model='notexist/
|
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 == "":
|