Thiloid commited on
Commit
e992eb5
·
verified ·
1 Parent(s): 02412d9

Update run.py

Browse files
Files changed (1) hide show
  1. run.py +1 -1
run.py CHANGED
@@ -18,7 +18,7 @@ api_key = os.getenv("key")
18
  # Step 1: Authenticate with Hugging Face Hub
19
  api = HfApi()
20
  # Replace 'your_token' with your actual Hugging Face API token
21
- HfFolder.setup_token(api_token=api_key)
22
 
23
  # Step 2: Specify your Hugging Face username, Space name, and file name
24
  username = 'thiloid'
 
18
  # Step 1: Authenticate with Hugging Face Hub
19
  api = HfApi()
20
  # Replace 'your_token' with your actual Hugging Face API token
21
+ HfFolder.get_token(api_token=api_key)
22
 
23
  # Step 2: Specify your Hugging Face username, Space name, and file name
24
  username = 'thiloid'