Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -6,9 +6,9 @@ from transformers import (
|
|
6 |
MBartForConditionalGeneration,
|
7 |
Trainer,
|
8 |
TrainingArguments,
|
9 |
-
|
10 |
)
|
11 |
-
|
12 |
# Save the Hugging Face token (if not already saved)
|
13 |
token = os.getenv("HF_TOKEN")
|
14 |
if token:
|
|
|
6 |
MBartForConditionalGeneration,
|
7 |
Trainer,
|
8 |
TrainingArguments,
|
9 |
+
|
10 |
)
|
11 |
+
from huggingface_hub import HfFolder
|
12 |
# Save the Hugging Face token (if not already saved)
|
13 |
token = os.getenv("HF_TOKEN")
|
14 |
if token:
|