Robzy commited on
Commit
f89e17c
·
1 Parent(s): 0ef6b8e
Files changed (1) hide show
  1. app_streamlit.py +2 -2
app_streamlit.py CHANGED
@@ -51,9 +51,9 @@ st.plotly_chart(fig)
51
 
52
  HF_TOKEN = os.getenv("HF_TOKEN")
53
  def restart():
54
- restart_space("davanstrien/restart", token=HF_TOKEN)
55
 
56
  time_start = datetime.now()
57
  scheduler = BackgroundScheduler()
58
  job = scheduler.add_job(restart, "interval", minutes=2)
59
- scheduler.start()
 
51
 
52
  HF_TOKEN = os.getenv("HF_TOKEN")
53
  def restart():
54
+ restart_space("Robzy/hgb-weather", token=HF_TOKEN)
55
 
56
  time_start = datetime.now()
57
  scheduler = BackgroundScheduler()
58
  job = scheduler.add_job(restart, "interval", minutes=2)
59
+ scheduler.start()