Update restart_space.py
Browse files- restart_space.py +1 -1
restart_space.py
CHANGED
@@ -3,7 +3,7 @@ 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 = "
|
7 |
|
8 |
try:
|
9 |
HfApi().restart_space(repo_id=repo_id, token=token)
|
|
|
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" # Please replace this value with the name of your own Hugging Face Space.
|
7 |
|
8 |
try:
|
9 |
HfApi().restart_space(repo_id=repo_id, token=token)
|