Update run.py
Browse files
run.py
CHANGED
@@ -18,8 +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 |
-
|
22 |
-
|
23 |
# Step 2: Specify your Hugging Face username, Space name, and file name
|
24 |
username = 'thiloid'
|
25 |
space_name = 'envapi'
|
|
|
18 |
# Step 1: Authenticate with Hugging Face Hub
|
19 |
api = HfApi()
|
20 |
# Replace 'your_token' with your actual Hugging Face API token
|
21 |
+
api.token = api_key
|
|
|
22 |
# Step 2: Specify your Hugging Face username, Space name, and file name
|
23 |
username = 'thiloid'
|
24 |
space_name = 'envapi'
|