Weyaxi commited on
Commit
f9a5a8a
·
verified ·
1 Parent(s): 973cff5

delete restart space

Browse files
Files changed (1) hide show
  1. app.py +0 -7
app.py CHANGED
@@ -28,12 +28,6 @@ def search(search_text):
28
 
29
  return df[df['👤 Author'].str.contains(search_text, case=False, na=False)]
30
 
31
-
32
- def restart_space():
33
- time.sleep(36000)
34
- api.restart_space(repo_id="Weyaxi/data-leaderboard", token=HF_TOKEN)
35
-
36
-
37
  df = pd.read_csv("author_data_hf_merged.csv")
38
 
39
  df_author_copy = df.copy()
@@ -99,5 +93,4 @@ with gr.Blocks() as demo:
99
  search_bar.submit(fn=search, inputs=search_bar, outputs=gr_followers)
100
 
101
 
102
- threading.Thread(target=restart_space).start()
103
  demo.launch()
 
28
 
29
  return df[df['👤 Author'].str.contains(search_text, case=False, na=False)]
30
 
 
 
 
 
 
 
31
  df = pd.read_csv("author_data_hf_merged.csv")
32
 
33
  df_author_copy = df.copy()
 
93
  search_bar.submit(fn=search, inputs=search_bar, outputs=gr_followers)
94
 
95
 
 
96
  demo.launch()