Update app.py
Browse files
app.py
CHANGED
@@ -28,7 +28,7 @@ from huggingface_hub import HfApi
|
|
28 |
username = 'islasher'
|
29 |
|
30 |
api_token_secret_name = "HF_API_TOKEN" # Name of your secret on Hugging Face
|
31 |
-
api_secret_url = f"https://huggingface.co/api/users/{username}/secrets/{api_token_secret_name}"
|
32 |
|
33 |
# Retrieve the API token from the Hugging Face API
|
34 |
response = requests.get(api_secret_url)
|
|
|
28 |
username = 'islasher'
|
29 |
|
30 |
api_token_secret_name = "HF_API_TOKEN" # Name of your secret on Hugging Face
|
31 |
+
api_secret_url = f"https://huggingface.co/api/users/{username}/pract9/secrets/{api_token_secret_name}"
|
32 |
|
33 |
# Retrieve the API token from the Hugging Face API
|
34 |
response = requests.get(api_secret_url)
|