Spaces:
Sleeping
Sleeping
robzchhangte
commited on
Commit
•
1491f00
1
Parent(s):
f331fc9
Update app.py
Browse files
app.py
CHANGED
@@ -2,7 +2,7 @@ import os
|
|
2 |
import gradio as gr
|
3 |
from transformers import AutoModelForSeq2SeqLM, AutoTokenizer
|
4 |
|
5 |
-
token = os.getenv(
|
6 |
|
7 |
# Load the translation model and tokenizer from Hugging Face
|
8 |
model_name = "robzchhangte/enmz-helsinki-case"
|
|
|
2 |
import gradio as gr
|
3 |
from transformers import AutoModelForSeq2SeqLM, AutoTokenizer
|
4 |
|
5 |
+
token = os.getenv(hf_token)
|
6 |
|
7 |
# Load the translation model and tokenizer from Hugging Face
|
8 |
model_name = "robzchhangte/enmz-helsinki-case"
|