Redmind commited on
Commit
d08801e
·
verified ·
1 Parent(s): c1aae77

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -6,9 +6,9 @@ from transformers import (
6
  MBartForConditionalGeneration,
7
  Trainer,
8
  TrainingArguments,
9
- HfFolder
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: