louiecerv commited on
Commit
268993d
·
1 Parent(s): d506fd2

sync with Remote

Browse files
Files changed (1) hide show
  1. app.py +0 -3
app.py CHANGED
@@ -6,9 +6,6 @@ from huggingface_hub import HfApi, HfFolder
6
  # Get the Hugging Face token from the environment variable
7
  hf_token = os.getenv("HF_TOKEN")
8
 
9
- # Save the token to the Hugging Face folder
10
- HfFolder.save_token(hf_token)
11
-
12
  def upload_to_huggingface(file):
13
  # Load the CSV file into a Hugging Face Dataset
14
  dataset = Dataset.from_csv(file.name)
 
6
  # Get the Hugging Face token from the environment variable
7
  hf_token = os.getenv("HF_TOKEN")
8
 
 
 
 
9
  def upload_to_huggingface(file):
10
  # Load the CSV file into a Hugging Face Dataset
11
  dataset = Dataset.from_csv(file.name)