Spaces:
Running
Running
Aananda-Giri
commited on
Commit
·
4e082c0
1
Parent(s):
f51e14f
remove value
Browse files
app.py
CHANGED
@@ -220,7 +220,7 @@ def load_model_n_tokenizer():
|
|
220 |
device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
|
221 |
model.to(device)
|
222 |
|
223 |
-
tokenizer = PreTrainedTokenizerFast.from_pretrained("Aananda-giri/
|
224 |
return model, tokenizer
|
225 |
|
226 |
def generate(
|
|
|
220 |
device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
|
221 |
model.to(device)
|
222 |
|
223 |
+
tokenizer = PreTrainedTokenizerFast.from_pretrained("Aananda-giri/GPT2-Nepali")
|
224 |
return model, tokenizer
|
225 |
|
226 |
def generate(
|