gauravlochab commited on
Commit
b4e8414
·
1 Parent(s): 4951ce5

refactor: Update HF_TOKEN variable name in restart_space.py

Browse files
Files changed (1) hide show
  1. restart_space.py +1 -1
restart_space.py CHANGED
@@ -2,7 +2,7 @@ from huggingface_hub import HfApi
2
  import os
3
 
4
  def restart_space():
5
- token = os.environ['HF_TOKEN'] # Please navigate to Settings > Secrets and variables > Actions and define "HF_TOKEN".
6
  repo_id = "gxurxv/optimus-metrics" # Please replace this value with the name of your own Hugging Face Space.
7
 
8
  try:
 
2
  import os
3
 
4
  def restart_space():
5
+ token = os.environ['HF_TOKEN_G'] # Please navigate to Settings > Secrets and variables > Actions and define "HF_TOKEN".
6
  repo_id = "gxurxv/optimus-metrics" # Please replace this value with the name of your own Hugging Face Space.
7
 
8
  try: