SumayyaAli commited on
Commit
111eae5
1 Parent(s): fdb0a03

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -10,7 +10,7 @@ import base64
10
  from huggingface_hub import HfApi
11
 
12
  api = HfApi()
13
- token = api.get_secret("secret_token") # Replace with your secret name
14
 
15
  #load_dotenv()
16
  #token = os.environ.get("HF_TOKEN")
 
10
  from huggingface_hub import HfApi
11
 
12
  api = HfApi()
13
+ token = api.retrieve_token("secret_token") # Replace with your secret name
14
 
15
  #load_dotenv()
16
  #token = os.environ.get("HF_TOKEN")