Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -2,7 +2,7 @@ import gradio as gr
|
|
2 |
from transformers import AutoTokenizer, MT5ForConditionalGeneration
|
3 |
|
4 |
# Load tokenizer and model
|
5 |
-
checkpoint = "syubraj/
|
6 |
tokenizer = AutoTokenizer.from_pretrained(checkpoint)
|
7 |
model = MT5ForConditionalGeneration.from_pretrained(checkpoint)
|
8 |
|
|
|
2 |
from transformers import AutoTokenizer, MT5ForConditionalGeneration
|
3 |
|
4 |
# Load tokenizer and model
|
5 |
+
checkpoint = "syubraj/romaneng2nep_v2"
|
6 |
tokenizer = AutoTokenizer.from_pretrained(checkpoint)
|
7 |
model = MT5ForConditionalGeneration.from_pretrained(checkpoint)
|
8 |
|