Update run.py
Browse files
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.
|
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'
|