Spaces:
Running
on
A100
Running
on
A100
🚩 Report: Not working
#34
by
zelk12
- opened
Stuck in queue.
The app seems to freeze up every few days; I suggest programming the server to restart itself every 24-36 hours if possible.
You may consider trying the following:
from huggingface_hub import HfApi
#you can switch factory reboot off
def restart_space():
HfApi().restart_space(repo_id="arcee-ai/mergekit-gui", token=HF_TOKEN, factory_reboot=True)
# restart every 6 hours
scheduler = BackgroundScheduler()
scheduler.add_job(restart_space, "interval", seconds=86400)
scheduler.start()
zelk12
changed discussion status to
closed