Spaces:
Sleeping
Sleeping
robzchhangte
commited on
Commit
•
91b2cd1
1
Parent(s):
b059834
Update app.py
Browse files
app.py
CHANGED
@@ -5,7 +5,7 @@ from transformers import AutoModelForSeq2SeqLM, AutoTokenizer
|
|
5 |
token = os.getenv("hf_token")
|
6 |
|
7 |
# Load the translation model and tokenizer from Hugging Face
|
8 |
-
model_name = "robzchhangte/enmz75-helcase"
|
9 |
model = AutoModelForSeq2SeqLM.from_pretrained(model_name, use_auth_token=token)
|
10 |
tokenizer = AutoTokenizer.from_pretrained(model_name, use_auth_token=token)
|
11 |
|
|
|
5 |
token = os.getenv("hf_token")
|
6 |
|
7 |
# Load the translation model and tokenizer from Hugging Face
|
8 |
+
model_name = "robzchhangte/enmz75-helcase-20"
|
9 |
model = AutoModelForSeq2SeqLM.from_pretrained(model_name, use_auth_token=token)
|
10 |
tokenizer = AutoTokenizer.from_pretrained(model_name, use_auth_token=token)
|
11 |
|