shunshao commited on
Commit
985478d
Β·
verified Β·
1 Parent(s): 6a05116

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +10 -10
app.py CHANGED
@@ -67,14 +67,14 @@ try:
67
  except Exception:
68
  restart_space()
69
 
70
- print("RESULTS_REPO_MIB_CAUSALGRAPH")
71
- try:
72
- print(RESULTS_REPO_MIB_CAUSALGRAPH)
73
- snapshot_download(
74
- repo_id=RESULTS_REPO_MIB_CAUSALGRAPH, local_dir=EVAL_RESULTS_MIB_CAUSALGRAPH_PATH, repo_type="dataset", tqdm_class=None, etag_timeout=30, token=TOKEN
75
- )
76
- except Exception:
77
- restart_space()
78
 
79
 
80
 
@@ -182,8 +182,8 @@ with demo:
182
  leaderboard = init_leaderboard_mib(LEADERBOARD_DF_MIB_SUBGRAPH, "Subgraph")
183
  # leaderboard = init_leaderboard_mib(LEADERBOARD_DF, "mib")
184
 
185
- with gr.TabItem("Causal Graph", elem_id="causalgraph", id=1):
186
- leaderboard = init_leaderboard_mib(LEADERBOARD_DF_MIB_SUBGRAPH, "Causal Graph")
187
 
188
  # with gr.Row():
189
  # with gr.Accordion("πŸ“™ Citation", open=False):
 
67
  except Exception:
68
  restart_space()
69
 
70
+
71
+ # try:
72
+ # print(RESULTS_REPO_MIB_CAUSALGRAPH)
73
+ # snapshot_download(
74
+ # repo_id=RESULTS_REPO_MIB_CAUSALGRAPH, local_dir=EVAL_RESULTS_MIB_CAUSALGRAPH_PATH, repo_type="dataset", tqdm_class=None, etag_timeout=30, token=TOKEN
75
+ # )
76
+ # except Exception:
77
+ # restart_space()
78
 
79
 
80
 
 
182
  leaderboard = init_leaderboard_mib(LEADERBOARD_DF_MIB_SUBGRAPH, "Subgraph")
183
  # leaderboard = init_leaderboard_mib(LEADERBOARD_DF, "mib")
184
 
185
+ # with gr.TabItem("Causal Graph", elem_id="causalgraph", id=1):
186
+ # leaderboard = init_leaderboard_mib(LEADERBOARD_DF_MIB_SUBGRAPH, "Causal Graph")
187
 
188
  # with gr.Row():
189
  # with gr.Accordion("πŸ“™ Citation", open=False):